fix: Set blog title and description when generateing the index
This commit is contained in:
parent
393b73aacb
commit
36778e0e5b
@ -267,7 +267,7 @@ def main():
|
|||||||
|
|
||||||
# Create blog list pages.
|
# Create blog list pages.
|
||||||
make_list(blog_posts, '_site/index.html',
|
make_list(blog_posts, '_site/index.html',
|
||||||
list_layout, item_layout, blog='blog', **params)
|
list_layout, item_layout, blog='blog', **{ **params, title=params["blog_title"], description=params["blog_description"] })
|
||||||
|
|
||||||
if options.rss:
|
if options.rss:
|
||||||
feed_xml = fread('layout/feed.xml')
|
feed_xml = fread('layout/feed.xml')
|
||||||
|
Loading…
Reference in New Issue
Block a user