Remove shortcodes in favor of layout partials
Signed-off-by: Celeste Horgan <celeste@cncf.io>
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user