diff options
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..6890120 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,12 @@ + <div class="links"> + <a href="{{ .Site.BaseURL }}">Home</a> + {{ range first 1 (where .Site.Pages "Type" "post") }} + <a href="{{ .Site.BaseURL }}post/">Archive</a> + {{ end }} + {{ range where .Site.Pages "Type" "!=" "post" }} + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ end }} + <a href="#top">Top</a> + </div> + </body> +</html> |