You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2012/07/06 10:40:17 UTC

svn commit: r1358076 - /trafficserver/site/trunk/templates/docs_page.html

Author: igalic
Date: Fri Jul  6 08:40:17 2012
New Revision: 1358076

URL: http://svn.apache.org/viewvc?rev=1358076&view=rev
Log:
Add Apache comments system. bow down to Humbedooh

Modified:
    trafficserver/site/trunk/templates/docs_page.html

Modified: trafficserver/site/trunk/templates/docs_page.html
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/templates/docs_page.html?rev=1358076&r1=1358075&r2=1358076&view=diff
==============================================================================
--- trafficserver/site/trunk/templates/docs_page.html (original)
+++ trafficserver/site/trunk/templates/docs_page.html Fri Jul  6 08:40:17 2012
@@ -88,6 +88,22 @@
         {% if nav_tree %}<!-- debug virtual="{{ nav_tree|safe }}" --><!--#include virtual="{{ nav_tree|safe }}" -->{% endif %}
       </div>
     </div>
+    <script type="text/javascript"><!--//--><![CDATA[//><!--
+      var comments_shortname = 'trafficserver';
+      var comments_identifier = 'http://trafficserver.apache.org{{ path }}'; // Our unique page ID
+      (function(w, d) {
+        d.write('<div id="comments_thread"><\/div>');
+          var s = d.createElement('script');
+          s.type = 'text/javascript';
+          s.async = true;
+          s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
+          (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
+          })(window, document);
+          //--><!]]></script>
+        <noscript>
+          <iframe width="100%" height="500" src="https://comments.apache.org/iframe.lua?site=trafficserver&page=http://trafficserver.apache.org{{ path }}"></iframe>
+  </noscript>
+  </iframe></noscript></script>
 
     <div id="footer" class="row">
     <div class="tencol">