You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently page layouts would need to duplicate files if the exact same files are used as layouts are treated as stand-alone folders.
Potential solution
Introduce a new file e.g., settings.md into layouts that can contain this kind of settings?
To extend your idea, currently the layout files for footer and other items are separated. It would be neater if all the different files (footer, siteNav, css) are all stored in their respective folders and have a simple settings.md file to "store" the file names required. Basically abstracting layouts to just a front matter file.
E.G, content within settings.md:
css: colorTheme1.css, blackTheme2.css
footer: simpleFooter.md
pageNav: default
pageNavHeader: "This is a list of stuff"
siteNav: mySiteNav.md
script: myScript1.js, myScript2.js
Then all the different file types are just stored in their respective folders within _/markbind
Version: v1.15.2
Problem
Currently page layouts would need to duplicate files if the exact same files are used as layouts are treated as stand-alone folders.
Potential solution
To extend your idea, currently the layout files for footer and other items are separated. It would be neater if all the different files (footer, siteNav, css) are all stored in their respective folders and have a simple
settings.md
file to "store" the file names required. Basically abstracting layouts to just a front matter file.E.G, content within
settings.md
:Then all the different file types are just stored in their respective folders within
_/markbind
Original comment by @Chng-Zhi-Xuan in #465 (comment)_
The text was updated successfully, but these errors were encountered: