gitoria
All repositories: gitoria
758 B
// components/index.hl — `/` ON EVERY ADDRESS (ticket #6, gitoria#16). The request's host decides, on the SERVER// (`host = null`, hybriel#74): the main address (gitoria.worldapi.org) shows the repo list (list.hl), a repo// address (<slug>.gitoria.worldapi.org) shows that repo's Readme view (readme.hl) — or "No such repository".parent './main.hl'import { siteName } from '../project.hl'import RepoList from './list.hl'import Readme from './readme.hl'import { pageTitle } from '../repos.hl'import { slugOfHost } from '../users.hl'host = nullonMain = slugOfHost(host) == ''onRepo = slugOfHost(host) != ''__title = pageTitle(siteName, slugOfHost(host), '')View {repoHome {if (onMain) { RepoList { } }if (onRepo) { Readme { } }}}
Branches
- mainmain branch
Latest commits
- 68dcb603deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- e2deed6dgitoria#20: "Add code" only on the Code page of an empty repository, no collapsiblemre
- 8bb97ffddeploy.sh: never send .git or .gitignore to Byrodinmre
- fd981932State of 2026-09-27; bin/ no longer tracked (Hybriel commit is in README)mre
- 4a2d7125initial commitmre