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

10 lines
264 B
HTML
Raw Normal View History

fix: remove trailing slashes Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65
2023-03-15 13:01:49 +01:00
<a href="{{ "" | relURL }}">Home</a>
chore: initial commit
2020-08-31 15:40:11 +02:00
{{ 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" }}
fix: remove trailing slashes Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65
2023-03-15 13:01:49 +01: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 }}
hugo-bearblog : avoid onclick inline script
2024-03-14 12:10:38 +07:00
<a id="dark-mode-button">
hugo-bear-blog : support 'lastmod' and add darkmode toggle
2024-03-09 13:27:57 +07:00
<span>Toggle-Dark-Mode</span>
</a>
Reference in New Issue Copy Permalink
Powered by Gitea Page: 39ms Template: 2ms
English
English
Licenses API