Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tblyler/light-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html12
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>