link to post revision history; and, compact Reddit share button
[Ultimately_Untrue_Thought.git] / theme / templates / article.html
index 6869f3f..d40a722 100644 (file)
 
 {% block content %}
        <article class="full">
-                       
+
                <h1>{{ article.title }}</h1>
-               
+
                {% include 'metadata.inc.html' %}
-               
-               {{ article.content }}   
+
+               {{ article.content }}
 
        </article>
 
-    <p>
-       <a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ TWITTER_USERNAME }}" data-lang="en" data-size="large" data-related="{{ TWITTER_USERNAME }}">Tweet</a>
-       <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>
-       </p>
+        <p>
+          <!-- Twitter social -->
+          <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-size="large">Tweet</a>
+          <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>
+
+          <!-- Reddit social -->
+          <a href="http://www.reddit.com/submit?url={{ SITEURL }}/{{ article.url }}&title={{ article.title }}" target="_blank" title="Submit to Reddit">
+            <img alt="Submit to Reddit"
+                 {# TODO: can store Reddit icon in theme directory rather than with blog images proper?? #}
+                 src="/images/reddit.svg" height="30px"/>
+          </a>
+        </p>
+        <p>
+          <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>
+        </p>
 
        {% if DISQUS_SITENAME %}
        <div class="comments">
@@ -46,4 +57,4 @@
        </div>
        {% endif %}
 
-{% endblock %}
\ No newline at end of file
+{% endblock %}