Skip to content

Commit a9574c6

Browse files
committed
blog - add show_quote to the blog's post template
Signed-off-by: Lachezar Lechev <[email protected]>
1 parent 39ef0ee commit a9574c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/blog/YYYY-MM-DD-Draft-blog-post.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
title = "Your blog post title"
44
# You can also override the default blog post template, but that's not required
55
# template = "blog_post.html"
6+
# It is used as the description of the Blog post in the list
67
description = "Description of your blog post for the blog listing"
78
# The date is set by the filename but we need to use it here,
89
# as the file does not contain a valid date "YYYY-MM-DD"
@@ -11,6 +12,10 @@ date = "2022-01-01"
1112
draft = true
1213
[extra]
1314

15+
# Show a quote (first 300 characters) from the content of the blog
16+
# The quote shows below the description.
17+
show_quote = false
18+
1419
[[extra.author]]
1520
name = "The AeroRust community"
1621
# The author's twitter account

0 commit comments

Comments
 (0)