Tidy & fix deprecation warnings

Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
This commit is contained in:
Tim Bannister
2020-08-08 16:47:04 +01:00
parent 6ce337253e
commit 7e23f0f875
11 changed files with 99 additions and 27 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
<head>
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }}">
<body class="td-{{ .Kind }}{{- if ne .Params.cid "" -}}{{- printf " cid-%s" (lower .Params.cid) -}}{{- end -}}">
<header>
{{ partial "navbar.html" . }}
</header>
@@ -27,7 +27,7 @@
</section>
{{ block "post-hero" . }}
{{ block "deprecated" . }}
{{ if .IsHome }}
{{ if or .IsHome ( eq .Params.cid "partners" ) ( eq .Params.cid "community" ) }}
{{ partial "deprecation-warning.html" . }}
{{ end }}
{{ end }}