Skip to content
Discussion options

You must be logged in to vote

Hello,
I modified the https://github.com/mkdocs-material/examples/tree/master/examples/blog-basic example for your needs;
blog-basic-for-copdips.zip

To remove the blog prefix of the URL you need to setup a stand-alone blog only site:
https://squidfunk.github.io/mkdocs-material/plugins/blog/#config.blog_dir-blog-only
To remove the day part of the URL you need to change the post_url_date_format option:
https://squidfunk.github.io/mkdocs-material/plugins/blog/#config.post_url_date_format
To enable .html path endings you need to disable the use_directory_urls global MkDocs option:
https://www.mkdocs.org/user-guide/configuration/#use_directory_urls

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@copdips
Comment options

@kamilkrzyskow
Comment options

@copdips
Comment options

@kamilkrzyskow
Comment options

@copdips
Comment options

Answer selected by copdips
Comment options

You must be logged in to vote
2 replies
@squidfunk
Comment options

@copdips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants