Merge branch 'main' into statcounter
This commit is contained in:
commit
73ec893338
2 changed files with 5 additions and 4 deletions
|
@ -8,9 +8,7 @@
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
<!------ ADD PAGE SPECIFIC HEADERS ------->
|
<!------ ADD PAGE SPECIFIC HEADERS ------->
|
||||||
{{ block "header" . }} {{ end }}
|
{{ block "header" . }} {{ end }}
|
||||||
{{ with .Params.relcanonical }}
|
|
||||||
{{ partial "misc/canonical.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
<!--================= add analytics if enabled =========================-->
|
<!--================= add analytics if enabled =========================-->
|
||||||
{{- partial "analytics.html" . -}}
|
{{- partial "analytics.html" . -}}
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{{ define "header" }}
|
{{ define "header" }}
|
||||||
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}" />
|
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}" />
|
||||||
|
{{ with .Params.relcanonical }}
|
||||||
|
<link rel="canonical" href="{{ . | relLangURL }}" itemprop="url" />
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "navbar" }}
|
{{ define "navbar" }}
|
||||||
|
@ -45,7 +48,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div style="margin-bottom: 80px;"></div>
|
<div style="margin-bottom: 80px;"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h1>{{ .Page.Title }}</h1>
|
<h1>{{ .Page.Title }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue