This commit is contained in:
parent
f5acb6dbaa
commit
cd18120aee
@ -25,7 +25,7 @@ block content
|
|||||||
if ($post["type"] == "blog")
|
if ($post["type"] == "blog")
|
||||||
a(href="/") blog
|
a(href="/") blog
|
||||||
if ($post["type"] == "note")
|
if ($post["type"] == "note")
|
||||||
a(href="notes") notes
|
a(href="/notes") notes
|
||||||
| > !{$post['slug']}
|
| > !{$post['slug']}
|
||||||
|
|
||||||
main
|
main
|
||||||
@ -40,7 +40,7 @@ block content
|
|||||||
.longform__content.e-content
|
.longform__content.e-content
|
||||||
| !{$post['content']}
|
| !{$post['content']}
|
||||||
|
|
||||||
if (array_key_exists('discussion', $post))
|
if (array_key_exists('discussion', $post) && isset($post['discussion']))
|
||||||
.discussion.subsection
|
.discussion.subsection
|
||||||
h2 Join the discussion
|
h2 Join the discussion
|
||||||
each $item in $post["discussion"]
|
each $item in $post["discussion"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user