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

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/gallery/list.html')
-rw-r--r--layouts/gallery/list.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/gallery/list.html b/layouts/gallery/list.html
index 438e682..cb8351b 100644
--- a/layouts/gallery/list.html
+++ b/layouts/gallery/list.html
@@ -25,6 +25,8 @@
{{ range shuffle $files }}
<div><img src="{{ $src | absURL }}{{.Name }}"/></div>{{ end }}</div>{{ end }}
{{ if .Site.Params.mainMenu }}<div class="section bottom-menu"><hr/><p>{{ range first 1 .Site.Params.mainMenu }}<a href="{{ .link }}">{{ .text }}</a>{{ end }}
+{{ if ( gt ( len .Site.Params.mainMenu ) 1 ) }}
{{ range after 1 .Site.Params.mainMenu }}
&#183; <a href="{{ .link }}">{{ .text }}</a>{{ end }}
+{{ end }}
&#183; <a href="{{.Site.BaseURL}}">{{ .Site.Params.homepage }}</a></p></div>{{ end }}<div class="section footer">{{ partial "footer.html" . }}</div></div></body> \ No newline at end of file