on master help sign in
Add flattr button (disabled for now)
51f0bfcJasper Van der Jeugt
examples/hakyll/templates/default.html+22
@@ -13,6 +13,22 @@
13 <!-- Metadata. -->
13 <!-- Metadata. -->
14 <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
14 <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
16+
17+ <!-- Flattr JS -->
18+ <!--
19+ <script type="text/javascript">
20+ /* <![CDATA[ */
21+ (function() {
22+ var s = document.createElement('script'), t =
23+ document.getElementsByTagName('script')[0];
24+ s.type = 'text/javascript';
25+ s.async = true;
26+ s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
27+ t.parentNode.insertBefore(s, t);
28+ })();
29+ /* ]]> */
30+ </script>
31+ -->
16 </head>
32 </head>
17 <body>
33 <body>
18 <div id="main">
34 <div id="main">
@@ -23,6 +39,12 @@
23 <!-- Sidebar. -->
39 <!-- Sidebar. -->
24 <div id="sidebar">
40 <div id="sidebar">
25 $sidebar$
41 $sidebar$
42+
43+ <!-- Flattr button -->
44+ <!--
45+ <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://jaspervdj.be/hakyll"></a>
46+ <noscript><a href="http://flattr.com/thing/291889/Hakyll" target="_blank"> <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
47+ -->
26 </div>
48 </div>
27
49
28 <div id="content">
50 <div id="content">