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
+4 -1
View File
@@ -4,7 +4,7 @@
{{ partial "head.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
</head>
<body class="td-{{ .Kind }}">
<body class="td-{{ .Kind }} td-documentation">
<header>
{{ partial "navbar.html" . }}
{{ partial "announcement.html" . }}
@@ -25,6 +25,9 @@
</div>
<main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ block "deprecated" . }}
{{ partial "deprecation-warning.html" . }}
{{ end }}
{{ block "main" . }}{{ end }}
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
{{ partial "feedback.html" .Site.Params.ui.feedback }}