Skip to content

Commit a866dfe

Browse files
jonjensenshowell
authored andcommitted
Use correct "layout" element of frontmatter
1 parent 0917654 commit a866dfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/front_matter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
def write_main_page_header(outfile, html_root, title):
2727
outfile.writelines([
2828
'---\n',
29-
'layouts: archive\n',
29+
'layout: archive\n',
3030
'title: {}\n'.format(title),
3131
'permalink: {}/index.html\n'.format(html_root),
3232
'---\n\n',
@@ -42,7 +42,7 @@ def write_stream_topics_header(outfile, site_url, html_root, title, stream_name,
4242

4343
outfile.writelines([
4444
'---\n',
45-
'layouts: archive\n',
45+
'layout: archive\n',
4646
'title: {}\n'.format(title),
4747
permalink,
4848
'\n---\n\n',
@@ -60,7 +60,7 @@ def write_topic_messages_header(outfile, site_url, html_root, zulip_url, title,
6060

6161
outfile.writelines([
6262
'---\n',
63-
'layouts: archive\n',
63+
'layout: archive\n',
6464
'title: {}\n'.format(title),
6565
permalink,
6666
'\n---\n\n',

0 commit comments

Comments
 (0)