From 107289a2c0a871bfb1979a3e5de830a95832a1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 17 Dec 2024 13:14:45 +0100 Subject: [PATCH] Update theme (again) --- .../gohugoioTheme/layouts/_default/_markup/render-link.html | 2 +- _vendor/modules.txt | 2 +- go.mod | 2 +- go.sum | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/_markup/render-link.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/_markup/render-link.html index 81b2fb46d..3dcb77dc3 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/_markup/render-link.html +++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/_default/_markup/render-link.html @@ -98,7 +98,7 @@ either of these shortcodes in conjunction with this render hook. {{- end }} {{- /* Determine content path for warning and error messages. */}} -{{- $contentPath := print .Page }} +{{- $contentPath := .Page.String }} {{- /* Parse destination. */}} {{- $u := urls.Parse .Destination }} diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 65c917c88..6121aaa80 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe +# github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 diff --git a/go.mod b/go.mod index 8c5e8cdcf..0f4cdd57f 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs go 1.22.0 -require github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe // indirect +require github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 // indirect diff --git a/go.sum b/go.sum index 40a41f94a..e2386a94a 100644 --- a/go.sum +++ b/go.sum @@ -2,3 +2,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20241119115653-b92d27ede3e1 h1:d6XNQ4QY github.com/gohugoio/gohugoioTheme v0.0.0-20241119115653-b92d27ede3e1/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe h1:+G6k1qjxy7Cx6ZR7RXZmysp5hbFUtlvhhDP3p1VqqxA= github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= +github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 h1:7DYEU25rQryCGyUISUpIye3oE0kz+9K9SiD6/O5rqvM= +github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=