Встроенный шаблон для disqus
This commit is contained in:
parent
5b22214abb
commit
c9685bbe9b
@ -2,6 +2,7 @@ baseURL = 'https://mmote.ru/'
|
||||
title = 'Здесь был MultiMote'
|
||||
theme = 'mmotium'
|
||||
languageCode = 'ru'
|
||||
disqusShortname = 'multimote'
|
||||
|
||||
[params]
|
||||
author = 'MultiMote'
|
||||
|
@ -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 }}
|
Loading…
Reference in New Issue
Block a user