Logo
Explore Help
Homepage
minoplhy/hugo-bearblog
1
0
Fork 0
You've already forked hugo-bearblog
Code Issues Pull Requests Packages Projects Releases Wiki Activity
hugo-bearblog/layouts/partials/nav.html

8 lines
199 B
HTML
Raw Normal View History

chore: initial commit
2020-08-31 15:40:11 +02:00
<a href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
feat: hide blog link if page not created (#4) Allows this theme to be used for sites that do not have a blog.
2020-09-16 22:35:58 -07:00
{{ with .Site.GetPage "/blog" }}
Revert "Fix link to »Blog« on demo page" This reverts commit 9863ab4f50b81073367145c3edc5a991bada5e53. Whoops. I should update my local version of `hugo` 😊. This broke the build, see https://github.com/janraasch/hugo-bearblog/actions/runs/3057300422/jobs/4932310672
2022-09-15 04:03:44 +02:00
<a href="{{ "/blog" | relURL }}">Blog</a>
feat: hide blog link if page not created (#4) Allows this theme to be used for sites that do not have a blog.
2020-09-16 22:35:58 -07:00
{{ end }}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 55ms Template: 5ms
English
English
Licenses API