From 69e162e5fe1470b74bcef4e5df55a9d3e845d3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Wed, 20 Nov 2024 13:33:22 +0100 Subject: [PATCH] Fix author links in the proposals lists (#1997) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Links were broken since the upgrade of the hugo version. Signed-off-by: Kévin Commaille --- changelogs/internal/newsfragments/1997.clarification | 1 + layouts/shortcodes/proposal-tables.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/internal/newsfragments/1997.clarification diff --git a/changelogs/internal/newsfragments/1997.clarification b/changelogs/internal/newsfragments/1997.clarification new file mode 100644 index 00000000..cb11abe6 --- /dev/null +++ b/changelogs/internal/newsfragments/1997.clarification @@ -0,0 +1 @@ +Fix relative URLs when serving the specification with a custom `baseURL`. diff --git a/layouts/shortcodes/proposal-tables.html b/layouts/shortcodes/proposal-tables.html index 06443909..6f18a50d 100644 --- a/layouts/shortcodes/proposal-tables.html +++ b/layouts/shortcodes/proposal-tables.html @@ -68,8 +68,8 @@ {{ .title }} {{ .created_at }} {{ .updated_at }} - {{ with $docs_links }}{{ $docs_links }}{{ end }} - {{ $authors }} + {{ with $docs_links }}{{ $docs_links | safeHTML }}{{ end }} + {{ $authors | safeHTML }} {{ with .shepherd }}@{{ . }}{{ end }} {{ end }}