Skip to content

Commit 79edee1

Browse files
committed
docs(blog-rss): Fix date_from_meta config
1 parent b11d2de commit 79edee1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/blog-rss/mkdocs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ plugins:
3939
- rss: # https://pypi.org/project/mkdocs-rss-plugin/
4040
match_path: blog/posts/.*
4141
date_from_meta:
42-
as_creation: date
43-
as_update: false
44-
date_format: "%Y-%m-%d" # specify if the RSS plugin does
45-
# not understand the format you use
42+
as_creation: "date" # means from page.meta.date
43+
as_update: "git" # means from git log
44+
datetime_format: "%Y-%m-%d %H:%M"
45+
default_time: "09:30"
46+
default_timezone: Europe/Berlin
47+
4648
categories:
4749
- categories
4850
- tags

0 commit comments

Comments
 (0)