Skip to content

Make links to the site's own pages relative - #497

Merged
MarcusDenker merged 1 commit into
ESUG:sourcefrom
koendehondt:claude/esug-domain-portability-a17e4f
Nov 27, 2026
Merged

MarcusDenker merged 1 commit into
ESUG:sourcefrom
koendehondt:claude/esug-domain-portability-a17e4f

Conversation

@koendehondt

@koendehondt koendehondt commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

When we put in place the new website, the old website has to move to another domain, e.g. https://old.esug.org. Moving the site to another domain without breaking pages is only possible if no absolute URLs (https://esug.github.io/… or https://esug.org/…) are used. Absolute URLs would send visitors back to the old domain.

Claude analysed the current source of esug.org and proposes improvements.

Changes

  • About 35 links in 21 .pillar files now use relative paths, for example agenda.html inside a conference folder, 2026-Conference/agenda.html from index.pillar, and ../2020-Conference/… across folders.
  • 4 root-relative links in content (/2024-Conference/…, /project.pillar, /dvd.pillar) are now relative.
  • Fixed targets that did not exist:
    • the 2022 awards submissions page pointed to 2020-Conference/awardsCall2022.html
    • the 2022 and 2023 program links pointed to agenda/agenda*.html instead of agenda*.html

Left as is

  • The menu in pillar.conf (/about_us.html, …) and {{baseurl}} in the templates. These have no domain in them, so they work on any domain as long as the site is served at the root. They must stay root-relative because the menu appears on pages in subfolders.
  • Links to registration., archive. and lists.esug.org: separate services.
  • Links to the old esug.org site (/data/…, /wiki/pier/…) in the 2014–2023 pages: content that is not part of this site.

To check

Not built locally. Please check the CI build and a few of the changed links in the generated site.

🤖 Generated with Claude Code

Links to pages of this site were written with the domain
(https://esug.github.io/... or https://esug.org/...), and a few used
root-relative paths. Replace them with relative links so the site can
be served from another domain.

Also fix three targets that did not exist:
- 2022-Conference/awardsSubmissions pointed to 2020-Conference/awardsCall2022
- 2022 and 2023 program links pointed to agenda/agenda*.html instead of agenda*.html

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@koendehondt
koendehondt marked this pull request as ready for review November 26, 2026 19:33

@MarcusDenker MarcusDenker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@MarcusDenker
MarcusDenker merged commit c958bc2 into ESUG:source Nov 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants