How to use it for blog content #2573
-
How is the best way to use mkdocs-material as a blog? We are working to migrate (knative.dev](https://knative.dev/) from hugo to mkdocs-material. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Pretty psyched to see you're considering Material for MkDocs for knative! MkDocs is primarily tailored to technical documentation, i.e. content that is not explicitly tied to dates. By default, it doesn't have author information etc., but this could be added via front matter and by extending the template to render this information, or extracted from git via one of the plugins by @timvink. Besides, there are some plugins that try to add blogging functionality, I haven't tested them though. Actually, I'm open to adding author information to Material for MkDocs if we could come up with a canonical way of how to do it. Should this be done via front matter? Extracted from git? I'm still unsure what's the best approach that serves the most use cases. |
Beta Was this translation helpful? Give feedback.
-
As a first step to provide better support for blogging, tags support is going to land soon in #2593! |
Beta Was this translation helpful? Give feedback.
-
Just wanted to provide an update on progress we were able to migrate the blog from hugo to mkdocs and our version is located here There are few things that we would like to see is how to leverage the front matter to display authors avatar, name, and link and also use the date field to sort and shortTitle or tittle to create the navigation menu automatically |
Beta Was this translation helpful? Give feedback.
Pretty psyched to see you're considering Material for MkDocs for knative! MkDocs is primarily tailored to technical documentation, i.e. content that is not explicitly tied to dates. By default, it doesn't have author information etc., but this could be added via front matter and by extending the template to render this information, or extracted from git via one of the plugins by @timvink. Besides, there are some plugins that try to add blogging functionality, I haven't tested them though.
Actually, I'm open to adding author information to Material for MkDocs if we could come up with a canonical way of how to do it. Should this be done via front matter? Extracted from git? I'm still unsure…