gitoria
All repositories: gitoria
748 B
// components/commit.hl — THE COMMIT PAGE of a repo (gitoria#9, gitoria#16): /commit/<id>[/<path>]: the whole project at that commit.// Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).// THE PATH AFTER /commit/: the route `/commit/*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), 'Commit')View {repoPage {RepoHead { }CodeBrowser { kind = "commit" rest = path }}}
Branches
- mainmain branch