File tree Expand file tree Collapse file tree 9 files changed +12
-9
lines changed Expand file tree Collapse file tree 9 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 3232 < main class ="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4 " role ="main "
3333 {{ if .IsPage }}data-pagefind-body data-pagefind-meta ="date:{{ $.Date.Format "2006-01-02 " }}"{{ end }}
3434 > <!-- inside main element -->
35- {{ block "deprecated" . }}
36- {{ partial "deprecation-warning.html" . }}
37- {{ end }}
3835 {{ with .CurrentSection.OutputFormats.Get "rss" -}}
3936 < a class ="btn btn-lg -bg-orange td-rss-button d-none d-lg-block " href ="{{ .Permalink | safeURL }} " target ="_blank ">
4037 RSS < i class ="fa fa-rss ml-2 "> </ i >
Original file line number Diff line number Diff line change 1212{{ $pageGroups := $pag.PageGroups}}
1313{{ if eq $pag.PageNumber 1 }}
1414{{ end }}
15+ {{ partial "deprecation-warning.html" . }}
1516< div class ="row ">
1617 < div class ="col-12 ">
1718 {{ range $pageGroups }}
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+ {{ partial "deprecation-warning.html" . }}
3+ {{ .Render "content" }}
4+ {{ end }}
Original file line number Diff line number Diff line change 2424 <!--main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main"-->
2525 < main role ="main " class ="col-xl-8 " {{ if ne .Params.cid "docsHome" }}data-pagefind-body{{ end }}{{ if (and .IsPage .Params.description ) }} data-pagefind-meta="description:{{ .Params.description }} "{{ end }} >
2626 {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
27- {{ block "deprecated" . }}
28- {{ partial "deprecation-warning.html" . }}
29- {{ end }}
3027 {{ block "outdated_content" . }}
3128 {{ partial "docs/outdated_content.html" . }}
3229 {{ end }}
Original file line number Diff line number Diff line change 33{{ end }}
44
55{{ define "main" }}
6+ {{ partial "deprecation-warning.html" . }}
67< h1 > {{ .Title }}</ h1 >
78{{- with resources.Get "css/glossary.css" -}}
89< link href ="{{ .RelPermalink }} " rel ="stylesheet ">
Original file line number Diff line number Diff line change 66{{- end -}}
77{{- end -}}
88 < div class ="td-content ">
9+ {{- partial "deprecation-warning.html" . -}}
910 {{ $hasContent := false }}
1011 {{ with .File }}
1112 {{ if ne .Filename "" }}
Original file line number Diff line number Diff line change 22{{ if not .Site.Params.deprecated }}
33 {{ .Content }}
44{{ else }}
5+ {{ partial "deprecation-warning.html" . }}
56< div class ="section-index ">
67 {{ range where .Site.Pages "Section" "releases" }}
78 {{ if not .IsNode }}
@@ -10,6 +11,6 @@ <h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
1011 </ div >
1112 {{ end }}
1213 {{ end }}
13- </ div >
14+ </ div >
1415{{ end }}
1516{{ end }}
Original file line number Diff line number Diff line change 11{{ define "main" }}
2+ {{ partial "deprecation-warning.html" . }}
23 < div class ="td-content ">
34 {{- if .HasShortcode "kat-button" -}}
45 < div class ="pageinfo pageinfo-secondary ">
Original file line number Diff line number Diff line change 11{{ if (.Site.Param "deprecated") }}
22< section id ="deprecation-warning ">
3- < div class ="content deprecation-warning pageinfo ">
3+ < div class ="deprecation-warning {{ if $.IsHome }}home- pageinfo{{else}}pageinfo{{ end }} ">
44 < h3 >
55 {{ T "deprecation_title" }} {{ .Param "version" }}
66 </ h3 >
1111</ section >
1212{{ else if and (eq .Section "blog") (not .Params.evergreen) .Date (.Date.Before (now.AddDate -1 0 0)) -}}
1313< section id ="deprecation-warning ">
14- < div class ="content deprecation-warning pageinfo outdated-blog ">
14+ < div class ="deprecation-warning pageinfo outdated-blog ">
1515 < p > {{ T "outdated_blog__message" }}</ p >
1616 </ div >
1717</ section >
You can’t perform that action at this time.
0 commit comments