Improve announcements implementation
Signed-off-by: Celeste Horgan <celeste@cncf.io> Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{{ if .Page.Param "announcement" }}
|
||||
<section lang="en" id="fp-announcement" style="background-color:{{ .Page.Param "announcement_bg" }}">
|
||||
<main>
|
||||
<div class="content announcement main-section">
|
||||
|
||||
<h3>
|
||||
{{ .Page.Param "announcement_title" | markdownify }}
|
||||
</h3>
|
||||
<p>{{ .Page.Param "announcement_message_full" | markdownify }}</p>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user