Skip to content

Commit 1fa2290

Browse files
agriyakhetarpalstefanv
authored andcommitted
Make news posts behave like blog posts
1 parent 5ce2c33 commit 1fa2290

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

layouts/news/list.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{ define "main" }}
2+
{{ partial "posts/list.html" . }}
3+
{{ end }}

layouts/news/single.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{ define "main" }}
2+
{{ partial "posts/post.html" . }}
3+
{{ end }}

0 commit comments

Comments
 (0)