Browse Source

Fix date on posts.

master
Syfaro 1 year ago
parent
commit
4646bd7ca9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      post.hbs

+ 2
- 2
post.hbs View File

@@ -5,7 +5,7 @@
5 5
   <header class="post-header">
6 6
     <h1 class="post-title">{{title}}</h1>
7 7
 
8
-    {{^if "page"}}
8
+    {{^is "page"}}
9 9
     <section class="post-meta">
10 10
       <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">
11 11
         {{date format="DD MMMM YYYY"}}
@@ -15,7 +15,7 @@
15 15
 
16 16
       {{reading_time}}
17 17
     </section>
18
-    {{/if}}
18
+    {{/is}}
19 19
   </header>
20 20
 
21 21
   <section class="post-content">

Loading…
Cancel
Save