From bc495491553830da7677a22d0a02478b4e3531ae Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Fri, 28 Nov 2025 07:03:41 +0000
Subject: [PATCH] fix: replace former _internal paths with root paths (v0.146)
---
layouts/post/list.html | 3 ++-
layouts/baseof.html | 10 ++++++----
layouts/single.html | 3 ++-
layouts/list.html | 4 ++--
4 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/layouts/baseof.html b/layouts/baseof.html
index 291fbf3..1c2968f 100644
--- a/layouts/baseof.html
+++ b/layouts/baseof.html
@@ -44,12 +44,14 @@
{{ end }}
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
- {{- template "_internal/opengraph.html" . -}}
- {{- template "_internal/schema.html" . -}}
- {{- template "_internal/twitter_cards.html" . -}}
+ {{/* former internal templates */}}
+ {{ partial "opengraph.html" . -}}
+ {{ partial "schema.html" . -}}
+ {{ partial "twitter_cards.html" . -}}
{{ if hugo.IsProduction }}
- {{ template "_internal/google_analytics.html" . }}
+ {{/* former internal template */}}
+ {{ partial "google_analytics.html" . }}
{{ end }}
{{ block "head" . }}{{ partials.Include "head-additions.html" . }}{{ end }}
</head>
diff --git a/layouts/list.html b/layouts/list.html
index ad5dea5..7de098b 100644
--- a/layouts/list.html
+++ b/layouts/list.html
@@ -9,7 +9,7 @@
{{ .Render "summary" }}
</div>
{{ end }}
- </section>
- {{- template "_internal/pagination.html" . -}}
+ </section>{{/* former internal template */}}
+ {{ partial "pagination.html" . -}}
</article>
{{ end }}
diff --git a/layouts/post/list.html b/layouts/post/list.html
index 0649bf7..7be0cdd 100644
--- a/layouts/post/list.html
+++ b/layouts/post/list.html
@@ -13,6 +13,7 @@
</div>
{{ end }}
</aside>
- {{ template "_internal/pagination.html" . }}
+ {{/* former internal template */}}
+ {{ partial "pagination.html" . }}
</article>
{{ end }}
diff --git a/layouts/single.html b/layouts/single.html
index 410b196..02bd489 100644
--- a/layouts/single.html
+++ b/layouts/single.html
@@ -63,7 +63,8 @@
{{- partials.Include "tags.html" . -}}
<div class="mt6 instapaper_ignoref">
{{ if .Site.Config.Services.Disqus.Shortname }}
- {{ template "_internal/disqus.html" . }}
+ {{/* former internal template */}}
+ {{ partial "disqus.html" . }}
{{ end }}
{{ if .Site.Params.commentoEnable }}
{{- partials.Include "commento.html" . -}}
--
Gitblit v1.10.0