// SPDX-License-Identifier: AGPL-3.0-or-later package web // Commits is the history of a ref, or of a path at a ref: the commits of the // page grouped by day, and the way to the older ones. templ Commits(l Layout, p CommitsPage) { @Shell(l, commitsRail(p)) {
history of { p.Path } at { p.Ref }
no commits.
} if p.Older != "" || p.Newest != "" { } } } templ commitsRail(p CommitsPage) {no tag or branch head here
}