doc/_layouts/skeleton.html in rabbit-2.1.6 vs doc/_layouts/skeleton.html in rabbit-2.1.7

- old
+ new

@@ -1,9 +1,10 @@ <!DOCTYPE html> <html lang="{{ page.language }}"> <head> - <meta charset="UTF-8" /> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Rabbit - {{ page.title }}</title> <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsfot.icon"> <link rel="icon" href="/favicon.png" type="image/png"> <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css" @@ -29,58 +30,62 @@ ga('create', 'UA-12143252-4', 'rabbit-shocker.org'); ga('send', 'pageview'); </script> </head> <body> + <div id="fb-root"></div> + <script>(function(d, s, id) { + var js, fjs = d.getElementsByTagName(s)[0]; + if (d.getElementById(id)) return; + js = d.createElement(s); js.id = id; + js.src = "//connect.facebook.net/{{ page.language }}_{{ page.country }}/all.js#xfbml=1"; + fjs.parentNode.insertBefore(js, fjs); +}(document, 'script', 'facebook-jssdk'));</script> + <header id="header"> <h1 class="title"> - <a href="/"> + <a href="/"> <span class="project">Rabbit</span> <span class="separator">-</span> <span class="description">{{ page.title }}</span> </a> </h1> <div class="facebook-buttons"> - <fb:like href="http://www.facebook.com/pages/Rabbit/202603309766491" - layout="standard"></fb:like> + <div class="fb-like" + data-href="http://www.facebook.com/pages/Rabbit/202603309766491" + data-layout="standard" + data-send="true" + data-show-faces="true" + data-width="320"></div> </div> <pre id="install" class="command">gem install rabbit</pre> <div class="other-language-links"> - <ul> + <ul> {% if page.language != "en" %} {% capture en_url %} {% if page.lang_suffix %} {{ page.url | remove:page.language | append:'en' }} {% else %} /en{{ page.url | remove_first:page.language | replace:'//','/' | remove:"index.html" }} {% endif %} {% endcapture %} - <li><a href="{{ en_url | remove:' ' | strip_newlines }}" alt="English" title="English"><img src="/images/us.png"></a></li> + <li><a href="{{ en_url | remove:' ' | strip_newlines }}">English</a></li> {% endif %} {% if page.language != "ja" %} {% capture ja_url %} {% if page.lang_suffix %} {{ page.url | remove:page.language | append:'ja' }} {% else %} /ja{{ page.url | remove_first:page.language | replace:'//','/' | remove:"index.html" }} {% endif %} {% endcapture %} - <li><a href="{{ ja_url | remove:' ' | strip_newlines }}" alt="日本語" title="日本語"><img src="/images/jp.png"></a></li> + <li><a href="{{ ja_url | remove:' ' | strip_newlines }}">日本語</a></li> {% endif %} - </ul> + </ul> </div> </header> {{ content }} <footer> <p class="copyright">&copy; 2004-{{ site.time | date:"%Y" }} Kouhei Sutou.</p> </footer> - <script src="http://connect.facebook.net/{{ page.language }}_{{ page.country }}/all.js"></script> - <script> - FB.init({ - appId : null, - status : true, // check login status - cookie : true, // enable cookies to allow the server to access the session - xfbml : true // parse XFBML - }); - </script> </body> </html>