This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/main by this push:
     new c38379bb Fix: Hugo now puts the list of tags at /tags/
c38379bb is described below

commit c38379bb783582eebf3a08d16f928b217c324614
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Dec 16 11:13:05 2025 +0100

    Fix: Hugo now puts the list of tags at /tags/
---
 layouts/_default/term.html | 2 +-
 static/.htaccess           | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 6c5560ac..200fdf84 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,6 +1,6 @@
 {{ define "main" }}
 <h2>Pages having the <em>{{ .Title }}</em> tag</h2>
-<p>See also the <a href="/tags.html">list of tags</a>.</p>
+<p>See also the <a href="/tags/">list of tags</a>.</p>
 <ul>
     {{ range .Data.Pages }}
     <li>
diff --git a/static/.htaccess b/static/.htaccess
index c3256a1e..8fd85f40 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -12,7 +12,8 @@ Redirect /use-the-comdev-issue-tracker-for-gsoc-tasks.html 
/gsoc/use-the-comdev-
 Redirect /mentoringprogramme.html /mentoring/
 Redirect /mentoring/experiences.html /gsoc/experiences.html
 
-RedirectMatch ^/tags/$ /tags.html
+# Recent versions of Hugo use /tags/ instead of /tags.html previously
+# RedirectMatch ^/tags/$ /tags.html
 
 Redirect /calendars/conferences.html https://events.apache.org/
 Redirect /calendars/ https://events.apache.org/

Reply via email to