gitoria
All repositories: gitoria
748 B
// components/branch.hl — THE BRANCH PAGE of a repo (gitoria#9, gitoria#16): /branch/<name>[/<path>]: that branch 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 /branch/: the route `/branch/*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), 'Branch')View {repoPage {RepoHead { }CodeBrowser { kind = "branch" rest = path }}}
Branches
- mainmain branch