aboutsummaryrefslogtreecommitdiff
path: root/src/templates/feed.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2020-12-19 22:35:50 -0600
committerMark Powers <mark@marks.kitchen>2020-12-19 22:35:50 -0600
commit5a5b666794b688881eb1e1635bf9f2ceb3cc4346 (patch)
tree4b80da46e9ea1d6ada7df0792a46640de065d8a7 /src/templates/feed.html
parentc18dd9ef6c9b3407862db7f01372bc65bb1c3721 (diff)
Add title to posts
Diffstat (limited to 'src/templates/feed.html')
-rw-r--r--src/templates/feed.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/feed.html b/src/templates/feed.html
index 2158f3e..d7494a2 100644
--- a/src/templates/feed.html
+++ b/src/templates/feed.html
@@ -1,6 +1,9 @@
<div class="feed">
{{#each posts}}
<div class="card">
+ {{#if this.showTitle}}
+ <h1 class="card-title">{{this.title}}</h1>
+ {{/if}}
<p class="card-text">{{{this.description}}}</p>
<div class="card-img">
{{#each this.images}}