Make home page sections dynamic and configurable (#14)
* Make home page sections dynamic and configurable * Fix navbar issue when no section is configured + fix next-prev navigator * Update exampleSite * Fix next-prev navigator * Make navbar brand URL context aware
This commit is contained in:
parent
8f99f05a98
commit
e2d376215a
32 changed files with 455 additions and 363 deletions
8
exampleSite/data/sections/recent-posts.yaml
Normal file
8
exampleSite/data/sections/recent-posts.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
# section information
|
||||
section:
|
||||
name: Recent Posts
|
||||
enable: true
|
||||
weight: 5
|
||||
showOnNavbar: true
|
||||
|
||||
# no other configuration is required
|
Loading…
Add table
Add a link
Reference in a new issue