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.
1 parent dcb0c30 commit d0e92ffCopy full SHA for d0e92ff
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