You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/06/05 03:04:51 UTC

git commit: HBASE-9733 Book should have individual Disqus comment per page (Misty Stanley-Jones)

Repository: hbase
Updated Branches:
  refs/heads/master d824f0b25 -> 475b1d2c9


HBASE-9733 Book should have individual Disqus comment per page (Misty Stanley-Jones)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/475b1d2c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/475b1d2c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/475b1d2c

Branch: refs/heads/master
Commit: 475b1d2c943ce3f47d8a3595db46d55bbf0d2abf
Parents: d824f0b
Author: Michael Stack <st...@duboce.net>
Authored: Wed Jun 4 18:04:17 2014 -0700
Committer: Michael Stack <st...@duboce.net>
Committed: Wed Jun 4 18:04:42 2014 -0700

----------------------------------------------------------------------
 src/main/docbkx/customization.xsl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/475b1d2c/src/main/docbkx/customization.xsl
----------------------------------------------------------------------
diff --git a/src/main/docbkx/customization.xsl b/src/main/docbkx/customization.xsl
index a5065a4..43d8df7 100644
--- a/src/main/docbkx/customization.xsl
+++ b/src/main/docbkx/customization.xsl
@@ -25,15 +25,15 @@
   <xsl:output method="html" encoding="UTF-8" indent="no"/>
 
   <xsl:template name="user.header.content">
+    <script type="text/javascript">
+    var disqus_shortname = 'hbase'; // required: replace example with your forum shortname
+    var disqus_url = 'http://hbase.apache.org/book/<xsl:value-of select="@xml:id" />.html';
+    <!--var disqus_identifier = '<xsl:value-of select="@xml:id" />';--></script>
   </xsl:template>
 
   <xsl:template name="user.footer.content">
 <div id="disqus_thread"></div>
 <script type="text/javascript">
-    var disqus_shortname = 'hbase'; // required: replace example with your forum shortname
-    var disqus_url = 'http://hbase.apache.org/book';
-    var disqus_identifier = '<xsl:value-of select="@xml:id" />';
-
     /* * * DON'T EDIT BELOW THIS LINE * * */
     (function() {
         var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;