moved to single.html

This commit is contained in:
David G. Simmons 2024-10-18 13:34:46 -04:00
parent 739499b106
commit 1008d92e4a
No known key found for this signature in database
GPG key ID: 3E0F418F1D0ABB96
3 changed files with 5 additions and 5 deletions

View file

@ -8,9 +8,7 @@
{{ template "_internal/twitter_cards.html" . }}
<!------ ADD PAGE SPECIFIC HEADERS ------->
{{ block "header" . }} {{ end }}
{{ with .Params.relcanonical }}
{{ partial "misc/canonical.html" . }}
{{ end }}
<!--================= add analytics if enabled =========================-->
{{- partial "analytics.html" . -}}
<script>

View file

@ -1,5 +1,8 @@
{{ define "header" }}
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}" />
{{ with .Params.relcanonical }}
<link rel="canonical" href="{{ . | relLangURL }}" itemprop="url" />
{{ end }}
{{ end }}
{{ define "navbar" }}
@ -45,7 +48,7 @@
{{ else }}
<div style="margin-bottom: 80px;"></div>
{{ end }}
<div class="title">
<h1>{{ .Page.Title }}</h1>
</div>

View file

@ -1 +0,0 @@
<link rel="canonical" href="{{ . | relLangURL }}" itemprop="url" />