Встроенный шаблон для disqus

This commit is contained in:
MultiMote 2023-01-02 18:56:17 +03:00
parent 5b22214abb
commit c9685bbe9b
2 changed files with 2 additions and 15 deletions

View File

@ -2,6 +2,7 @@ baseURL = 'https://mmote.ru/'
title = 'Здесь был MultiMote'
theme = 'mmotium'
languageCode = 'ru'
disqusShortname = 'multimote'
[params]
author = 'MultiMote'

View File

@ -19,20 +19,6 @@
</article>
<div class="comments">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{.Permalink}}';
this.page.identifier = '{{.File.ContentBaseName}}';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://multimote.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>
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}