mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
disqus modify exp_1
This commit is contained in:
parent
e08fc44765
commit
9747cfeb18
@ -26,7 +26,7 @@
|
|||||||
<main class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
|
<main class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
|
||||||
{{- .Content -}}
|
{{- .Content -}}
|
||||||
{{- partial "tags.html" . -}}
|
{{- partial "tags.html" . -}}
|
||||||
{{- partial "comment.html" . -}}
|
{{ partial "disqus.html" . }}
|
||||||
<div class="mt6">
|
<div class="mt6">
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
22
layouts/partials/disqus.html
Normal file
22
layouts/partials/disqus.html
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<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 = PAGE_IDENTIFIER; // 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://itoschum-me.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>
|
||||||
|
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
Loading…
x
Reference in New Issue
Block a user