From b665aa0da1573bfd777db6ebff0aa729c29e94a9 Mon Sep 17 00:00:00 2001 From: Callum Oakley Date: Sun, 7 Jul 2019 19:21:46 +0100 Subject: [PATCH] italicise comments --- templates/post.handlebars | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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}}