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

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/index/siteSections.html')
-rw-r--r--layouts/partials/index/siteSections.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/index/siteSections.html b/layouts/partials/index/siteSections.html
new file mode 100644
index 0000000..01f0697
--- /dev/null
+++ b/layouts/partials/index/siteSections.html
@@ -0,0 +1,9 @@
+<h4 style="margin: 1em 0 1em 0;">Sections</h4>
+{{ range .Site.Sections }}
+{{ if not .Params.hideFromHome }}
+<p>
+ <a href="{{ .Permalink }}" aria-label="site sections">{{ .Title }}</a> -
+ {{ len .Pages}} Articles
+</p>
+{{ end }}
+{{ end }} \ No newline at end of file