Renaming the "Blog" slug? #78
-
|
Hi there! First and foremost, I want to thank you for your work on this project. It fits my needs almost perfectly, and I'm very excited to start publishing publicly soon. If you have any way for us to support you (e.g. Ko-Fi or similar), I'd love to do so. One minor hiccup I'm noticing: it seems that my blog has an odd slug to it:
I have the blog dir configured in my My This seems to be the case with the official docs website, too: Also noteworthy that posts have the right URL slug: My question is, can we customize that Many thanks!!! I appreciate your project a ton. Have a great day! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @jdoescyber, First, I'm really happy that you find this project useful. As for support, I will definitely create a proper way to support this project and for sure let everybody know on the project blog, so thanks in advance for that. As for your finding, this is an obvious bug. I have created an #79 for that, but for the fix you will have to wait a moment (sorry for that). I have take a look at the possible solution for that but there is no easy fix at the moment. I need to finish release 1.4.0 since the code for it is complete (working on documentation for it). In this release, there will be some missing features for the meta plugin related to adding support for external links in menu (supported in vanilla mkdocs) and also possibility for redirections (right now there is an external plugin for that, but it's not compatible with the meta plugin, since they both build navigation in a totally different way). After release 1.4.0 I will work on the blog plugin since this is the oldest one in this project and the code needs a huge refactor. I will fix your issue while working on the refactor (there are many more things that I didn't take into consideration while this plugin was written at the beginning). PS. I'm considering creating an Insiders program like one in MkDocs Material. Will you be interested in participating? PS2. If you have any future requests, I will be glad to hear about it and extend this project even further. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jdoescyber, |
Beta Was this translation helpful? Give feedback.
Hi @jdoescyber,
In the upcoming v1.4.2 this will be fixed. To change slug, you have to change
slugkey value inmkdocs.yaml" file (have a look at this [documentation part](https://mkdocs-publisher.github.io/setup/general/pub-blog/#general). In general, this will be changed in v2.0.0 to allow changing this setting overREADME.md` file, so it will be unified with pub-meta plugin.