Skip to content

Commit ce74a09

Browse files
committed
fix ui [deploy site]
1 parent 9132980 commit ce74a09

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: website_and_docs/hugo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ plausible_analytics = true
164164
prism_syntax_highlighting = true
165165

166166
# Enable announcement banner below navbar (Go to announcement-banner.html to change the message)
167+
banner_flag = false
167168
announcement_banner = false
168169

169170
# Enable Algolia DocSearch

Diff for: website_and_docs/layouts/shortcodes/blocks/section.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{{ $_hugo_config := `{ "version": 1 }` }}
22
{{ $col_id := .Get "color" | default .Ordinal }}
33
{{ $height := .Get "height" | default "auto" }}
4-
{{ $type := .Get "type" | default "" }}
4+
{{ $type := .Get "type" | default "" }}
55
<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}}>
77
<div class="col">
88
<div class="row {{ $type }}">
99
{{ if eq .Page.File.Ext "md" }}

0 commit comments

Comments
 (0)