Compare commits

...

2 Commits

Author SHA1 Message Date
Yarmo Mackenbach
cd18120aee Fix discussion error
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 00:49:17 +02:00
Yarmo Mackenbach
f5acb6dbaa Fix typo 2020-06-21 00:46:48 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ if ($match['name'] == 'vinyl') {
$variables['title'] = 'Vinyl — '.$basetitle;
}
// If we are dealing with Albu m Of The Week
// If we are dealing with Album Of The Week
if ($match['name'] == 'aotw') {
$variables['albums'] = getAOTW();
$variables['title'] = 'Album Of The Week — '.$basetitle;

View File

@ -25,7 +25,7 @@ block content
if ($post["type"] == "blog")
a(href="/") blog
if ($post["type"] == "note")
a(href="notes") notes
a(href="/notes") notes
| > !{$post['slug']}
main
@ -40,7 +40,7 @@ block content
.longform__content.e-content
| !{$post['content']}
if (array_key_exists('discussion', $post))
if (array_key_exists('discussion', $post) && isset($post['discussion']))
.discussion.subsection
h2 Join the discussion
each $item in $post["discussion"]