Closed binhonglee closed 7 months ago
I am not sure @binhonglee is still interested in doing this, but this is what is missing on config.tml
[params.menu]
[[params.menu.list]]
label='MyNewPage'
dir = "my_new_page" # The sub-directory on the website we are being redirected to
Current implementation limits the type of content and title labeling allowed for use. With this patch, anyone can add their own labels and directories while still leveraging the same blog style partial format for the single page.
Also added the ability to
disableBlog
instead of removing it entirely to prevent breaking existing themes (they are still enabled by default unless specified otherwise.Testing: Manually tested this on my device with the
exampleSite
by changing up theconfig.toml
and seeing it work as intended.