We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcb0c30 + d0e92ff commit dee354eCopy full SHA for dee354e
layouts/partials/banner.html
@@ -1,10 +1,10 @@
1
{{ if .Params.show_banner -}}
2
{{ $announcements := site.GetPage "announcements" -}}
3
{{ if $announcements -}}
4
+ {{ range $announcements.RegularPages }}
5
<div class="menu-banner">
- {{ range $announcements.RegularPages }}
6
<div>{{ .Content }}</div>
7
- {{ end -}}
8
</div>
+ {{ end -}}
9
{{ end -}}
10
0 commit comments