Migrate main to Hugo source with CI-built deployment - #12
Merged
Conversation
Replace the committed Hugo build output with the actual Hugo source so the site can be edited via content/ and data/ files and rebuilt reproducibly: - Remove committed build output (index.html, 404.html, sitemap.xml, authors/, categories/, tags/, css/, img/, js/), the .hugo_build.lock, and the ASWF_ORI_WEB stub; add .gitignore - Import the Hugo source: hugo.toml, content/, data/, layouts/, static/, and the vendored hugo-universal-theme - Fix baseURL to https://openreviewinitiative.org/ (the previous committed build was generated against localhost:1313, so the live sitemap.xml/index.xml pointed at localhost and index.html embedded a livereload dev script) - Port PR #11 (Osano cookie consent + LF Projects footer) from the hand-edited HTML into hugo.toml and a custom_headers.html partial so it survives rebuilds and applies to every page - Point the OTIOSync feature tile at the PRWG wiki page to match the currently deployed site - Replace static.yml with hugo.yml: builds with pinned Hugo 0.147.8 in CI, deploys public/ to Pages on main, and runs a validation build on pull requests - Add README.md (repo layout, how to edit content, local preview) and CONTRIBUTING.md (PR workflow, EasyCLA note) Verified: local Hugo 0.147.8 build output matches the deployed site byte-for-byte after normalizing the localhost URLs, with zero remaining localhost references. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: erikstrauss <erik.strauss@gmail.com>
Merged
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.
Summary
This replaces the committed Hugo build output on
mainwith the actual Hugo source (previously stranded on thefull-hugo-buildbranch), so the site can finally be edited throughcontent/anddata/files and rebuilt reproducibly by CI.What changes
hugo.toml,content/,data/,layouts/,static/, and the vendoredhugo-universal-themenow live onmain. Generated output (index.html,404.html,sitemap.xml,authors/,categories/,tags/,css/,img/,js/,.hugo_build.lock) is removed and gitignored.localhost:1313, so the livesitemap.xmlandindex.xmlcontain only localhost URLs andindex.htmlembeds a livereload dev-server script.baseURLis nowhttps://openreviewinitiative.org/.hugo.tomland acustom_headers.htmlpartial — the consent script now loads on every page, not just the front page.static.yml(which deployed the raw repo root) is replaced byhugo.yml, which builds with pinned Hugo 0.147.8 and deployspublic/on pushes tomain; pull requests get a validation build.README.md(repo layout, how to edit content, local preview) andCONTRIBUTING.md(PR workflow, EasyCLA note).node_modules/, screenshot-comparison tooling,.DS_Storefiles, and theASWF_ORI_WEBstub folder.Verification
Built locally with Hugo v0.147.8 (the exact version behind the current deployment). After normalizing the localhost URLs, the generated
index.htmlmatches the live site byte-for-byte except the intended fixes above; the full output contains zero localhost references. The OTIOSync feature tile was updated to keep the PRWG wiki link currently in production.Follow-ups (not in this PR)
full-hugo-build,Static_site_update_20250718,erikstrauss-patch-*,my-fix-branch,jmertic-patch-1) once this merges.🤖 Generated with Claude Code