From c56a4855cfd5bce5af0c6f59b73cedec3fc1503d Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sun, 16 Mar 2025 08:13:36 +0800 Subject: feat(animation): implement View Transition --- layouts/_default/single.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3733936e..243f8549 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,18 @@ {{ partial "snippets/document-start.html" . }} -
+
{{ if eq .Type "posts" }} {{ partial "components/breadcrumbs.html" . }} {{ else }} {{ partial "header.html" . }} {{ end }} -
+
{{ if in .Site.Params.mainSections .Type }} {{ partial "components/banner.html" . }} -- cgit v1.2.3