diff options
Diffstat (limited to 'themes/hugo-bearblog/layouts/partials/nav.html')
m--------- | themes/hugo-bearblog | 0 | ||||
-rw-r--r-- | themes/hugo-bearblog/layouts/partials/nav.html | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 -Subproject efc24bc5e95f0ccb88051e1a7d95e8a1404e953 diff --git a/themes/hugo-bearblog/layouts/partials/nav.html b/themes/hugo-bearblog/layouts/partials/nav.html new file mode 100644 index 0000000..f4fabed --- /dev/null +++ b/themes/hugo-bearblog/layouts/partials/nav.html @@ -0,0 +1,7 @@ +<a href="{{ "" | relURL }}">Home</a> +{{ range .Site.Menus.main }} +<a href="{{ .URL }}">{{ .Name }}</a> +{{ end }} +{{ with .Site.GetPage "/blog" }} +<a href="{{ "blog" | relURL }}">Blog</a> +{{ end }} |