File tree 2 files changed +3
-2
lines changed
layouts/shortcodes/blocks
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ plausible_analytics = true
164
164
prism_syntax_highlighting = true
165
165
166
166
# Enable announcement banner below navbar (Go to announcement-banner.html to change the message)
167
+ banner_flag = false
167
168
announcement_banner = false
168
169
169
170
# Enable Algolia DocSearch
Original file line number Diff line number Diff line change 1
1
{{ $_hugo_config := `{ "version": 1 }` }}
2
2
{{ $col_id := .Get "color" | default .Ordinal }}
3
3
{{ $height := .Get "height" | default "auto" }}
4
- {{ $type := .Get "type" | default "" }}
4
+ {{ $type := .Get "type" | default "" }}
5
5
< a id ="td-block-{{ .Ordinal }} " class ="td-offset-anchor "> </ a >
6
- < section class ="row td-box td-box--gradient -bg-{{ $col_id }} p-2 ">
6
+ < section class ="row td-box td-box--gradient -bg-{{ $col_id }} p-2 " {{ if not .Site.Params.banner_flag }}style =" margin-top: 50px; " {{end}} >
7
7
< div class ="col ">
8
8
< div class ="row {{ $type }} ">
9
9
{{ if eq .Page.File.Ext "md" }}
You can’t perform that action at this time.
0 commit comments