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/robots.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/robots.txt b/layouts/robots.txt
index a1069a4..7428de9 100644
--- a/layouts/robots.txt
+++ b/layouts/robots.txt
@@ -2,7 +2,7 @@
 {{/* robotstxt.org - if we are in production, allow access, else deny */ -}}
 {{ if hugo.IsProduction -}}
 Allow: /
-Sitemap: {{ "/sitemap.xml" | absURL }}
+Sitemap: {{ "/sitemap.xml" | urls.AbsURL }}
 {{ else -}}
 Disallow: /
 {{ end -}}

--
Gitblit v1.10.0