1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-18 18:02:18 +02:00

layouts/partials: use internal Hugo partials

As of Hugo v0.146.0 the template system was overhauled and it seems
we need to use different syntax here. The reason for overriding the
Hugo internal templates in the past (post images) is no longer pre-
sent, so I can revert to the internal ones, but confusingly, we do
not refer to them with "_internal" now.

See: https://github.com/gohugoio/hugo/pull/13541
This commit is contained in:
2025-04-14 07:48:59 +03:00
parent 5fd2964427
commit be4bbc3bca
3 changed files with 2 additions and 117 deletions

View File

@ -1,8 +1,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ partial "opengraph.html" . }}
{{ partial "twitter_cards.html" . }}
{{- partial "opengraph.html" . }}
{{- partial "twitter_cards.html" . }}
{{- with .Site.Params.google_verify_meta -}}
<meta name="google-site-verification" content="{{ . }}" />