source: projects/web/trunk/template/layout.html.erb @ 3102

Revision 3102, 818 bytes checked in by daisuke, 13 years ago (diff)

HTMLヘッダの<title>にページタイトルを埋め込むように変更

Line 
1<%
2header=File.open("template/header.tmpl")
3footer=File.open("template/footer.tmpl")
4sidebar=File.open("template/sidebar2.tmpl")
5%>
6<%= header.read.gsub("<title>Vine Linux</title>","<title>#{$header_title}</title>") %>
7
8<div id="wrapper">
9<!-- start page -->
10<div id="page">
11  <!-- start content -->
12  <div id="content-wide">
13
14<%= yield %>
15
16<br clear="both">
17<div id="ads-bottom-linkunit">
18<script type="text/javascript"><!--
19google_ad_client = "pub-0334540465096658";
20/* 468x15, vinelinux link-unit */
21google_ad_slot = "8585583707";
22google_ad_width = 468;
23google_ad_height = 15;
24//-->
25</script>
26<script type="text/javascript"
27src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
28</script>
29</div>
30
31  </div><!-- end content-wide -->
32
33<%= sidebar.read %>
34
35<%= footer.read %>
Note: See TracBrowser for help on using the repository browser.