Skip to content

Commit

Permalink
missing parens in comments template
Browse files Browse the repository at this point in the history
  • Loading branch information
callum-oakley committed Jul 7, 2019
1 parent e2f0384 commit c06dd6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/post.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<h1>{{dot.metadata.title}}</h1>
<div>{{{dot.content}}}</div>
<p class="date">Written on the {{dot.metadata.date}}.</p>
{{#if and dot.metadata.hacker_news dot.metadata.reddit}}
{{#if (and dot.metadata.hacker_news dot.metadata.reddit)}}
Comments on <a href="{{dot.metadata.hacker_news}}">Hacker News</a> or <a href="{{dot.metadata.reddit}}">Reddit</a>.
{{/if}}
{{#if and dot.metadata.hacker_news (not dot.metadata.reddit)}}
{{#if (and dot.metadata.hacker_news (not dot.metadata.reddit))}}
Comments on <a href="{{dot.metadata.hacker_news}}">Hacker News</a>.
{{/if}}
{{#if and (not dot.metadata.hacker_news) dot.metadata.reddit}}
{{#if (and (not dot.metadata.hacker_news) dot.metadata.reddit)}}
Comments on <a href="{{dot.metadata.reddit}}">Reddit</a>.
{{/if}}
</div>
Expand Down

0 comments on commit c06dd6f

Please sign in to comment.