Commits

Andrés Reyes Monge  committed ac0b819

- cambios en las templates

  • Participants
  • Parent commits 6a42692

Comments (0)

Files changed (2)

File blog/templates/blog/post_detail.html

     <div class="row">
 
         <div class="span12">
+        <!-- AddThis Button BEGIN -->
+        <div class="addthis_toolbox addthis_default_style ">
+        <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
+        <a class="addthis_button_tweet"></a>
+        <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
+        <a class="addthis_counter addthis_pill_style"></a>
+        </div>
+        <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
+        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dc31c6c74e4e2e8"></script>
+        <!-- AddThis Button END -->
             {% set_disqus_url post.get_absolute_url %}
             {% set_disqus_title post.name %}
             {% set_disqus_identifier post.id %}

File templates/base.html

 <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <title>{% block title %}{% endblock %}</title>
+    <title>{% block title %}El Blog de armonge{% endblock %}</title>
     <meta name="description" content="">
 
     <meta name="viewport" content="width=device-width">
 
 
     <script src="{{ STATIC_URL }}js/libs/modernizr-2.5.3.min.js"></script>
+    <!-- Piwik --> 
     <script type="text/javascript">
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://analytics.armonge.info/" : "http://analytics.armonge.info/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+    </script><script type="text/javascript">
+    try {
+    var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+    piwikTracker.trackPageView();
+    piwikTracker.enableLinkTracking();
+    } catch( err ) {}
+    </script><noscript><p><img src="http://analytics.armonge.info/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
+    <!-- End Piwik Tracking Code -->
 
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-32573914-1']);
-      _gaq.push(['_trackPageview']);
-
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-
-    </script>
 </head>
 <body onload="prettyPrint()">
 <div class="wrapper">
     <script src="{{ STATIC_URL }}js/plugins.js"></script>
     <script type="text/javascript" src="{{ STATIC_URL }}js/google-code-prettify/prettify.js"></script>
 
-    <script src="http://coderwall.com/javascripts/jquery.coderwall.js"></script>
 
 </div>
 </body>