Repository navigation
Use clean URLs without .html - #6
Merged
Merged
Conversation
Link pages as /projects and /about (and ./ for home) instead of their .html files, including canonical, og:url and sitemap URLs. GitHub Pages already serves /about from about.html and old .html addresses keep working. Add scripts/serve.mjs, a Node built-ins preview server that resolves clean URLs like Pages, and document it since opening files from disk no longer follows the page links.
This was referenced Nov 26, 2026
mbianchidev
marked this pull request as ready for review
November 26, 2026 10:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pages now link to
/projectsand/about(and./for home) instead ofprojects.htmlandabout.html. Canonical,og:urlandsitemap.xmluse the same clean URLs.https://synctune.it/projectsand/aboutalready return 200 from the.htmlfiles, and the old.htmladdresses keep returning 200, so inbound links do not break. Files stay where they are; nodir/index.htmlconversion (that would force a trailing-slash redirect).scripts/serve.mjs(Node built-ins only, not published) serves the site the way Pages does. Docs updated./: all 52 internal URLs return 200, every#anchorexists, no.htmlpage links remain./projects/and unknown paths return 404,.gitand README are not served.Also:
mbianchidev/etcqliteis now public, so its card links the source instead of saying "Source is not public", andassets/projects/provenance.jsonrecords the logo's public origin (docs/assets/logo.svgatbac5543, same checksum).