fe3eb7796d61

all things are pain
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 29 Sep 2012 14:02:57 -0400
parents 7924ee224412
children bd15116835e2
branches/tags (none)
files layout/_post.html layout/skeleton/_base.html

Changes

--- a/layout/_post.html	Sat Sep 29 13:18:50 2012 -0400
+++ b/layout/_post.html	Sat Sep 29 14:02:57 2012 -0400
@@ -15,9 +15,14 @@
     <div id="leaf-stats" class="group">
         {% if page.flattr %}
             <div class="flattr">
-                <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
-                   href="http://stevelosh.com{{ page.url }}"></a>
-           </div>
+                <a class="FlattrButton"
+                    style="display: none;"
+                    title="{{ page.title|safe }}"
+                    data-flattr-category="text"
+                    data-flattr-button="compact"
+                    href="http://stevelosh.com{{ page.url }}">Flattr</a>
+            </div>
+
         {% endif %}
         <p>
             Posted
--- a/layout/skeleton/_base.html	Sat Sep 29 13:18:50 2012 -0400
+++ b/layout/skeleton/_base.html	Sat Sep 29 14:02:57 2012 -0400
@@ -23,12 +23,12 @@
         {% endblock %}
 
         {% block js %}
-            <script src="/media/js/jquery.js" type="text/javascript"></script>
-            <script src="/media/js/jquery.timeago.js" type="text/javascript"></script>
-            <script src="/media/js/sjl.js" type="text/javascript"></script>
-            <script src="/media/js/print.js" type="text/javascript"></script>
+            <script data-cfasync="false" src="/media/js/jquery.js" type="text/javascript"></script>
+            <script data-cfasync="false" src="/media/js/jquery.timeago.js" type="text/javascript"></script>
+            <script data-cfasync="false" src="/media/js/sjl.js" type="text/javascript"></script>
+            <script data-cfasync="false" src="/media/js/print.js" type="text/javascript"></script>
 
-            <script type="text/javascript">
+            <script data-cfasync="false" type="text/javascript">
                 $(function() {
                     $("a.rhythm").toggle(function() {
                         $("body").addClass("rhythm");
@@ -116,20 +116,20 @@
                 <a class="rochester-made" href="http://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made" /></a>
             </footer>
         </div>
+
+        <script type="text/javascript">
+            var _gauges = _gauges || [];
+            (function() {
+             var t   = document.createElement('script');
+             t.type  = 'text/javascript';
+             t.async = true;
+             t.id    = 'gauges-tracker';
+             t.setAttribute('data-site-id', '4e8f83a7f5a1f53f20000011');
+             t.src = '//secure.gaug.es/track.js';
+             var s = document.getElementsByTagName('script')[0];
+             s.parentNode.insertBefore(t, s);
+             })();
+        </script>
     </body>
-
-    <script type="text/javascript">
-        var _gauges = _gauges || [];
-        (function() {
-         var t   = document.createElement('script');
-         t.type  = 'text/javascript';
-         t.async = true;
-         t.id    = 'gauges-tracker';
-         t.setAttribute('data-site-id', '4e8f83a7f5a1f53f20000011');
-         t.src = '//secure.gaug.es/track.js';
-         var s = document.getElementsByTagName('script')[0];
-         s.parentNode.insertBefore(t, s);
-         })();
-     </script>
 </html>
 {% endblock %}