gitoria
All repositories: gitoria
776 B
// components/code.hl — THE CODE PAGE of a repo (gitoria#9, gitoria#16): /code, /code/<path>: the main branch (the owner's setting) at its last commit.// Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).// THE PATH AFTER /code/: the route `/code/*path` binds the rest of the path to the member `path` (hybriel#81).parent './main.hl'import { siteName } from '../project.hl'import RepoHead from './repohead.hl'import CodeBrowser from './codebrowser.hl'import { pageTitle } from '../repos.hl'import { slugOfHost } from '../users.hl'host = nullpath = ''__title = pageTitle(siteName, slugOfHost(host), 'Code')View {repoPage {RepoHead { onCodePage = true }CodeBrowser { kind = "code" rest = path }}}
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