From 180471112e2ccc50150a90cab1684f70ea635390 Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <patrick@davids-neighbour.com>
Date: Mon, 10 Mar 2025 09:29:18 +0000
Subject: [PATCH] refactor: move all template methods to proper GoHugo methods
---
layouts/partials/site-style.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/site-style.html b/layouts/partials/site-style.html
index dbcd984..01bfa99 100644
--- a/layouts/partials/site-style.html
+++ b/layouts/partials/site-style.html
@@ -1,9 +1,9 @@
-{{ with partialCached "func/style/GetMainCSS.html" "style/GetMainCSS" }}
+{{ with partials.IncludeCached "func/style/GetMainCSS.html" "style/GetMainCSS" }}
<link rel="stylesheet" href="{{ .RelPermalink }}" >
{{ end }}
{{ range site.Params.custom_css }}
- {{ with partialCached "func/style/GetResource.html" . . }}{{ else }}
- <link rel="stylesheet" href="{{ relURL (.) }}">
+ {{ with partials.IncludeCached "func/style/GetResource.html" . . }}{{ else }}
+ <link rel="stylesheet" href="{{ urls.RelURL (.) }}">
{{ end }}
{{ end }}
--
Gitblit v1.10.0