link to post revision history; and, compact Reddit share button
[Ultimately_Untrue_Thought.git] / theme / templates / article.html
index 2c2c4f8..d40a722 100644 (file)
 
 {% block content %}
        <article class="full">
-                       
+
                <h1>{{ article.title }}</h1>
-               
+
                {% include 'metadata.inc.html' %}
-               
-               {{ article.content }}   
+
+               {{ article.content }}
 
        </article>
 
           <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 -->
-          <script type="text/javascript" src="//www.redditstatic.com/button/button3.js"></script>
+          <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 %}