summaryrefslogtreecommitdiff
path: root/src/docs/base.pug
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-30 16:24:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-30 16:24:46 +0900
commit6b567fdc0585cf77c8104df9b0a75c9fa7d41ec7 (patch)
tree1c128cae1b0846826269eb86abf731153071ea97 /src/docs/base.pug
parentFix doc (diff)
downloadsharkey-6b567fdc0585cf77c8104df9b0a75c9fa7d41ec7.tar.gz
sharkey-6b567fdc0585cf77c8104df9b0a75c9fa7d41ec7.tar.bz2
sharkey-6b567fdc0585cf77c8104df9b0a75c9fa7d41ec7.zip
ドキュメントにDisqus設置
Diffstat (limited to 'src/docs/base.pug')
-rw-r--r--src/docs/base.pug22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/docs/base.pug b/src/docs/base.pug
index b67fd630c4..aeafaeffff 100644
--- a/src/docs/base.pug
+++ b/src/docs/base.pug
@@ -34,6 +34,28 @@ html(lang= lang)
if content
| !{content}
+ aside.
+ <div id="disqus_thread"></div>
+ <script>
+
+ /**
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
+ /*
+ var disqus_config = function () {
+ this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
+ this.page.identifier = "#{ id }"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
+ };
+ */
+ (function() { // DON'T EDIT BELOW THIS LINE
+ var d = document, s = d.createElement('script');
+ s.src = 'https://misskey.disqus.com/embed.js';
+ s.setAttribute('data-timestamp', +new Date());
+ (d.head || d.body).appendChild(s);
+ })();
+ </script>
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+
footer
block footer
small= copyright