@@ -1355,6 +1357,27 @@
{{end}}
+
+ {{if and .Config.Gallery.Enabled .GalleryImages}}
+
+ Gallery
+ {{if .Config.Gallery.Headline}}{{.Config.Gallery.Headline}}{{else}}Gallery{{end}}
+ {{if .Config.Gallery.Subheadline}}{{.Config.Gallery.Subheadline}}
{{end}}
+
+ {{range .GalleryImages}}
+
+
+
+
+ {{if .Caption}}
+
{{.Caption}}
+ {{end}}
+
+ {{end}}
+
+
+ {{end}}
+
{{end}}{{/* end PageIsBlogDetail / PageIsBlogList / else */}}
diff --git a/templates/pages/open-source-hero.tmpl b/templates/pages/open-source-hero.tmpl
index b12674d362..e7b523534b 100644
--- a/templates/pages/open-source-hero.tmpl
+++ b/templates/pages/open-source-hero.tmpl
@@ -994,6 +994,7 @@
{{if .Config.Features}}
@@ -1491,6 +1493,30 @@
{{end}}
+
+ {{if and .Config.Gallery.Enabled .GalleryImages}}
+
+
+
+
+ {{range .GalleryImages}}
+
+
+
+
+ {{if .Caption}}
+
{{.Caption}}
+ {{end}}
+
+ {{end}}
+
+
+
+ {{end}}
+
{{end}}{{/* end PageIsBlogDetail / PageIsBlogList / else */}}
diff --git a/templates/repo/settings/pages_content.tmpl b/templates/repo/settings/pages_content.tmpl
index eecdfef27a..c32eb713f2 100644
--- a/templates/repo/settings/pages_content.tmpl
+++ b/templates/repo/settings/pages_content.tmpl
@@ -65,6 +65,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ctx.Locale.Tr "repo.settings.pages.gallery_help_link"}}
+
{{range $i, $stat := .Config.Stats}}