Skip to content

Comments

switch to pretty URLs and add canonical link tags#28

Open
ritorhymes wants to merge 1 commit intogitgitgadget:mainfrom
ritovision:url
Open

switch to pretty URLs and add canonical link tags#28
ritorhymes wants to merge 1 commit intogitgitgadget:mainfrom
ritovision:url

Conversation

@ritorhymes
Copy link
Contributor

@ritorhymes ritorhymes commented Feb 22, 2026

Remove uglyURLs so that paths no longer carry the unnecessary .html extension, which only adds length and makes URLs harder to read and type.

Add baseURL and canonical link tags so that search engines can identify the page and URL as authoritative.

Use relURL for the banner image so it resolves correctly under pretty URL paths.

Update graphviz-ssr.js to match the new directory-based output paths that Hugo generates without uglyURLs.

Demo site: https://gitgitgadget.ritovision.com

Remove uglyURLs so that paths no longer carry the
unnecessary .html extension, which only adds length
and makes URLs harder to read and type.

Add baseURL and canonical link tags so that search
engines can identify the page and URL as authoritative.

Use relURL for the banner image so it resolves correctly
under pretty URL paths.

Update graphviz-ssr.js to match the new directory-based
output paths that Hugo generates without uglyURLs.
@dscho
Copy link
Member

dscho commented Feb 23, 2026

Is this backwards-compatible? I.e. would existing ugly links still work?

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