2013-06-07から1日間の記事一覧
名前付きcontentを使う もう少し、ドキュメントを読み込み、前回エントリとは違う方法を探してみました。 exapmle/root.html.ep % layout 'hoge'; % content_for head => begin <script> function init(){} </script> % end <p>hello world</p> layouts/hoge.html.ep <html> <head> <title>dokechin site</title> </head></html>…