From 9e1f8f243408eb9eaa47a83d0f5045f29a43da17 Mon Sep 17 00:00:00 2001 From: PCloud Date: Thu, 16 May 2024 19:27:50 +0100 Subject: [PATCH] initial support --- layouts/_default/baseof.html | 8 +++++++- layouts/_default/summary.html | 6 +++--- layouts/partials/function/stringNormalise.html | 1 + layouts/partials/plugin/image.html | 1 + layouts/posts/single.html | 6 +++--- 5 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 layouts/partials/function/stringNormalise.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 75197ba91..43fee111c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,13 @@ - + {{/* View Transition */}} + {{/* https://developer.chrome.com/docs/web-platform/view-transitions/cross-document */}} + {{- /* Paginate */ -}} {{- /* Paginate in here, To solve the problem of the canonical URL being the same in the pagination */ -}} {{- /* see more https://github.com/gohugoio/hugo/issues/4507 */ -}} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 617094b12..ccc83a3e5 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -6,19 +6,19 @@ {{- with $image -}} {{- end -}} {{- /* Title */ -}} -

+

{{ .Title }}

{{- /* Meta */ -}}
-