Adding v1 of twitter comments
This commit is contained in:
parent
77f58f464b
commit
91b4b0a372
1 changed files with 16 additions and 1 deletions
|
@ -52,6 +52,14 @@
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block somemorehead %}
|
||||||
|
{% if article.specialcss %}
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ article.specialcss }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endblock somemorehead %}
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section id="content" class="body">
|
<section id="content" class="body">
|
||||||
<header>
|
<header>
|
||||||
|
@ -127,12 +135,19 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer><!-- /.post-info -->
|
</footer><!-- /.post-info -->
|
||||||
{% if MASTODON_COMMENTS is sameas True %}
|
{% if MASTODON_COMMENTS is sameas True %}
|
||||||
<div class="mastodon-comments">
|
<div class="comments">
|
||||||
<br />
|
<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><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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if TWITTER_COMMENTS is sameas True %}
|
||||||
|
<div class="comments">
|
||||||
|
<br />
|
||||||
|
<p><strong>To join a conversation on Twitter <a href="https://twitter.com/search?q={{ SITEURL }}/{{ article.url }}">Click Here</a>, and to start a conversation <a class="" href="https://twitter.com/intent/tweet?text={{ article.title|striptags }}&url={{ SITEURL }}/{{ article.url }}{% if SOCIAL_TWITTER %}&via={{ SOCIAL_TWITTER }}{% endif %}" target="_blank" title="Share on Twitter">Click Here</a></p>
|
||||||
|
<p>In future versions of this theme there will be a bot that will keep track of the comments and display them here, but that is for the future.</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if ARTICLE_FOOTER == true %}
|
{% if ARTICLE_FOOTER == true %}
|
||||||
<section id="article-footer">
|
<section id="article-footer">
|
||||||
|
|
Loading…
Reference in a new issue