Feature: Add dynamic edit URLs and custom navigation menu
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 22s
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 22s
This commit is contained in:
16
config/_default/menus.en.toml
Normal file
16
config/_default/menus.en.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
# This overrides the framework's default menu for the public site.
|
||||
|
||||
[[main]]
|
||||
name = "Projects"
|
||||
pageRef = "/projects"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Posts"
|
||||
pageRef = "/posts"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Stream"
|
||||
pageRef = "/stream"
|
||||
weight = 30
|
||||
6
config/_default/params.toml
Normal file
6
config/_default/params.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
# This dynamically overrides the framework's article settings for the public site.
|
||||
[article]
|
||||
showEdit = true
|
||||
showEditURL = true
|
||||
editURL = "https://git.wompmacho.com/wompmacho/docs-public/src/branch/main"
|
||||
editAppendPath = true
|
||||
Reference in New Issue
Block a user