fix inactive links in the head section of the website template when setting heilmeier_catechism: true
Closed this issue · 1 comments
I modified the project theme such that when heilmeier catechism
is set to true, a set of top links are available in the navigation bar:
My next step was to change the links in
https://github.com/labdao/project-theme/blob/master/_layouts/default.html line 26+ such that they link to the various subpages (for example "Team" should map to "team.md").
I am stuck with the mapping of the names however. Can you open a pull request that changes the links within _layouts/default.html line 26+ such that they link to the respective subpages?
@NiklasTR this is fixed. The way it's fixed right now assumes you're not adding permalinks to the front matter for each page, so if you create about.md
it'll be rendered to /about.html
. If you'd rather have it render to a path like /about
, you can add a permalink
attribute in the front matter for the page, like I've done here for another-page.md
:
Lines 1 to 6 in a17d5a2
That makes it so that another-page.md
is rendered to /another-page