Isso comment server setup!
[Ultimately_Untrue_Thought.git] / theme / templates / article.html
1 {% extends "base.html" %}
2 {% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %}
3
4 {% block extra_meta %}
5
6         <meta name="description" content="{{ article.summary|striptags }}">
7
8 {% if PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT %}
9         <meta name="twitter:card" content="summary">
10         <meta name="twitter:creator" content="@{{ PELICAN_SIMPLEGREY_TWITTER_CARD_ACCOUNT }}">
11         <meta name="twitter:title" content="{{ article.title }}">
12         <meta name="twitter:description" content="{{ article.summary|striptags }}">
13         <meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}">
14 {% endif %}
15 {% endblock %}
16
17
18 {% block content %}
19         <article class="full">
20
21                 <h1>{{ article.title }}</h1>
22
23                 {% include 'metadata.inc.html' %}
24
25                 {{ article.content }}
26
27         </article>
28
29         <p>
30           <!-- Twitter social -->
31           <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-size="large">Tweet</a>
32           <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
33
34           <!-- Reddit social -->
35           <a href="http://www.reddit.com/submit?url={{ SITEURL }}/{{ article.url }}&title={{ article.title }}" target="_blank" title="Submit to Reddit">
36             <img alt="Submit to Reddit"
37                  {# TODO: can store Reddit icon in theme directory rather than with blog images proper?? #}
38                  src="/images/reddit.svg" height="30px"/>
39           </a>
40         </p>
41         <p>
42           <a style="font-size: 80%;" href="http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=history;f=content/{{ article.date.year }}/{{ article.slug }}.md;hb=HEAD">(Post revision history)</a>
43         </p>
44
45         <script data-isso="//unremediatedgender.space/isso"
46                 data-isso-reply-to-self="true"
47                 data-isso-require-author="true"
48                 data-isso-require-email="true"
49                 src="//unremediatedgender.space/isso/js/embed.min.js"></script>
50         <section id="isso-thread"></section>
51
52 {% endblock %}