How to Customize the Archive Page for a Blog Plugin #6324
-
Hi mkdocs-material, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
It should be possible to achieve this with just CSS by changing I managed to change the appearance on one of my pages. See the two different stylings for the two posts visible in the screenshot below. Changing the format of the date is a different question. You could need to tell the blog plugin to produce different text, which, I guess, can be done using the post_url_date_format setting? |
Beta Was this translation helpful? Give feedback.
This, or you can even set another template for archive pages and provide your own template. The blog plugin uses the same mechanics as the rest of Material for MkDocs: simple Jinja2 templating. I haven't tested it, but you should be able to do something like this using MkDocs' hooks: