source: projects/web/trunk/template/layout-news.html.erb @ 4519

Revision 4519, 1.7 KB checked in by daisuke, 13 years ago (diff)

ツイートボタンを追加
各ページのタイトルに内容が入るように修正

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
18<div id="social-bottuns">
19        <!-- Google +1 -->
20        <g:plusone size="medium"></g:plusone>
21        <!-- Facebook Like! -->
22        <iframe src="http://www.facebook.com/plugins/like.php?app_id=250950618257737&amp;href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FVine-Linux%2F137362693010812&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe>
23        <!-- Tweet button -->
24        <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="ja">ツイート</a>
25        <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
26</div>
27
28<br clear="both">
29<div id="ads-bottom-linkunit">
30<script type="text/javascript"><!--
31google_ad_client = "pub-0334540465096658";
32/* vinelinux link-unit */
33google_ad_slot = "4566651758";
34google_ad_width = 728;
35google_ad_height = 15;
36//-->
37</script>
38<script type="text/javascript"
39src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
40</script>
41</div>
42
43  </div><!-- end content-wide -->
44
45<%= sidebar.read %>
46
47<div style="clear: both;">&nbsp;</div>
48
49
50<%= footer.read %>
Note: See TracBrowser for help on using the repository browser.