diff --git a/templates/post.handlebars b/templates/post.handlebars index 3957f6b..3d7c086 100644 --- a/templates/post.handlebars +++ b/templates/post.handlebars @@ -4,13 +4,19 @@
{{{dot.content}}}

Written on the {{dot.metadata.date}}.

{{#if (and dot.metadata.hacker_news dot.metadata.reddit)}} - Comments on Hacker News or Reddit. +

+ Comments on Hacker News or Reddit. +

{{/if}} {{#if (and dot.metadata.hacker_news (not dot.metadata.reddit))}} - Comments on Hacker News. +

+ Comments on Hacker News. +

{{/if}} {{#if (and (not dot.metadata.hacker_news) dot.metadata.reddit)}} - Comments on Reddit. +

+ Comments on Reddit. +

{{/if}} {{> footer}}