posts: add link to reddit page, if it exists
[web.git] / ralf / _layouts / page.html
index d3b16f2861308e548393527fbc3b1f2699d4ab18..420891973ef71bfddf24e26d3cb052566c9876e0 100644 (file)
@@ -44,7 +44,9 @@
 
       {{ content }}
 
-      {% if page.post %}<p class="comment">Comments? <a href="mailto:post-AT-ralfj-DOT-de">Drop me a mail</a>!</p>{% endif %}
+      {% if page.post %}
+        <p class="comment">Comments? <a href="mailto:post-AT-ralfj-DOT-de">Drop me a mail</a>{% if page.reddit %} or <a href="https://www.reddit.com/r{{ page.reddit }}">leave a note on reddit</a>{% endif %}!</p>
+      {% endif %}
     </article>
 
   </div></body>