Revision 4519,
1.7 KB
checked in by daisuke, 13 years ago
(diff) |
ツイートボタンを追加
各ページのタイトルに内容が入るように修正
|
Line | |
---|
1 | <% |
---|
2 | header=File.open("../template/header.tmpl") |
---|
3 | footer=File.open("../template/footer.tmpl") |
---|
4 | sidebar=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&href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FVine-Linux%2F137362693010812&send=false&layout=button_count&width=100&show_faces=false&action=like&colorscheme=light&font=arial&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"><!-- |
---|
31 | google_ad_client = "pub-0334540465096658"; |
---|
32 | /* vinelinux link-unit */ |
---|
33 | google_ad_slot = "4566651758"; |
---|
34 | google_ad_width = 728; |
---|
35 | google_ad_height = 15; |
---|
36 | //--> |
---|
37 | </script> |
---|
38 | <script type="text/javascript" |
---|
39 | src="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;"> </div> |
---|
48 | |
---|
49 | |
---|
50 | <%= footer.read %> |
---|
Note: See
TracBrowser
for help on using the repository browser.