Remove shortcodes in favor of layout partials

Signed-off-by: Celeste Horgan <celeste@cncf.io>
This commit is contained in:
Celeste Horgan
2020-07-17 12:51:54 -07:00
parent 70198b3001
commit 7cd2327f87
2 changed files with 0 additions and 27 deletions
-14
View File
@@ -1,14 +0,0 @@
{{ if .Page.Param "announcement" }}
<link rel="stylesheet" href="{{ "css/announcement.css" | relURL }}">
<section id="announcement">
<main>
<div class="content announcement main-section">
<h3>
{{ .Page.Param "announcement_message" | markdownify }}
</h3>
</div>
</main>
</section>
{{ end }}
@@ -1,13 +0,0 @@
{{ if .Page.Param "deprecated" }}
<section id="deprecationWarning">
<main>
<div class="content deprecation-warning">
<h3>
Kubernetes {{ .Page.Param "version" }}
{{ T "deprecation_warning" }}
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
</h3>
</div>
</main>
</section>
{{ end }}