Skip to content

Commit

Permalink
blog - add show_quote to the blog's post template
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Nov 8, 2022
1 parent 39ef0ee commit a9574c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/blog/YYYY-MM-DD-Draft-blog-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
title = "Your blog post title"
# You can also override the default blog post template, but that's not required
# template = "blog_post.html"
# It is used as the description of the Blog post in the list
description = "Description of your blog post for the blog listing"
# The date is set by the filename but we need to use it here,
# as the file does not contain a valid date "YYYY-MM-DD"
Expand All @@ -11,6 +12,10 @@ date = "2022-01-01"
draft = true
[extra]

# Show a quote (first 300 characters) from the content of the blog
# The quote shows below the description.
show_quote = false

[[extra.author]]
name = "The AeroRust community"
# The author's twitter account
Expand Down

0 comments on commit a9574c6

Please sign in to comment.