Moved the embed code to the settings
This commit is contained in:
parent
9f255ef1a7
commit
c494efbfde
1 changed files with 5 additions and 8 deletions
|
@ -144,24 +144,21 @@
|
|||
|
||||
{% if COMMENTS is sameas True %}
|
||||
<div class="comments">
|
||||
<h3>Comments?</h3>
|
||||
<script type="text/javascript" src="/hashover/comments.php"></script>
|
||||
<noscript>Please enable JavaScript to load the comments.</noscript>
|
||||
<div id="hashover"></div>
|
||||
<h3>Comments</h3>
|
||||
{{ COMMENT_EMBED }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if MASTODON_COMMENTS is sameas True %}
|
||||
<div class="comments">
|
||||
<br />
|
||||
<p><strong><a href="{{ SITEURL }}/mastodon-comments/bot.php?title={{ article.title|striptags }}&url={{ SITEURL }}/{{ article.url }}{% if article.photo_image %}&image=../{{ article.photo_image[1] }}{% endif %}">Click Here to Comment on Mastodon.</a></strong></p>
|
||||
<p>If its your first time commenting, <a href="https://jeffmackinnon.com/commenting-on-blog-with-mastodon.html">click here</a> to figure it out.</p>
|
||||
<h3>Comment on Mastodon</h3>
|
||||
{{ MASTODON_EMBED }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if TWITTER_COMMENTS is sameas True %}
|
||||
<div class="comments">
|
||||
<br />
|
||||
<h3>Comment on Twitter</h3>
|
||||
<p><strong>To join a conversation on Twitter <a href="https://twitter.com/search?q={{ SITEURL }}/{{ article.url }}">click here</a>.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue