Repository navigation
Add the byro.info project website - #1
Closed
Herr-Dante wants to merge 2 commits into
Closed
Herr-Dante wants to merge 2 commits into
Herr-Dante wants to merge 2 commits into
Conversation
Static German and English site generated by build.py from Jinja2 templates, with texts in content/*.toml and links, site URL and demo settings in config.toml. The demo pages are only built once demo.url is set. check.py verifies links, metadata, hreflang, sitemap and that no third-party resources are loaded. The workflow checks every pull request and deploys main to GitHub Pages, building for the URL reported by actions/configure-pages so that both byro.github.io/website and byro.info work. Screenshots were taken from byro v2026.4.0 with make_testdata.
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.
Adds the public project website for byro in German (
/de/) and English (/en/), plus a neutral German start page/that forwards to the browser or chosen language.What is included
demo.urlis set inconfig.toml, which is empty for now.x-default, Open Graph data with a preview image per language,sitemap.xml,robots.txt, a bilingual 404 page.make_testdata, in German and English.How it is built
Plain HTML/CSS generated by
build.py(Python 3.13, Jinja2) instead of SvelteKit, as discussed: the site has only a few pages and the byro project is Python-based.check.pychecks a build for broken internal links and assets, metadata, hreflang reciprocity, sitemap/robots and third-party resources. Tests:python -m unittest discover tests.Deployment
.github/workflows/pages.ymlruns tests and checks on every pull request (forbyro.infoand for thegithub.ioproject URL) and never publishes from pull requests. Pushes tomainand manual runs onmainbuild for the URL reported byactions/configure-pagesand deploy with the official Pages actions.Needed before or after merging
See the README section "Setting up GitHub Pages and byro.info":
byro.infofor the organization (TXT record), then set the DNS records listed in the README.demo.byro.infostays untouched.byro.infoas custom domain and enable HTTPS.Still open: imprint/privacy policy (operator details are missing) and a license for this repository.