diff options
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r-- | layouts/partials/nav.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..be5539c --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,9 @@ +{{ with .Site.GetPage "/blog" }} +<a href="{{ "blog" | relURL }}">blog</a> +{{ end }} +{{ with .Site.GetPage "/snippets" }} +<a href="{{ "snippets" | relURL }}">snippets</a> +{{ end }} +{{ with .Site.GetPage "/projects" }} +<a href="{{ "projects" | relURL }}">projects</a> +{{ end }}
\ No newline at end of file |