{{/* SPDX-License-Identifier: AGPL-3.0-only SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_index" -}} {{- $root := . -}} {{- template "head_common" . -}} {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .global.forge_title -}} {{- template "header" . -}}

{{- .repo_name -}}

{{- .repo_description -}}
{{- if .notes -}}
Notes
{{- end -}}

{{- .ssh_clone_url -}}

{{- if .commits -}}
{{- range .commits -}}
{{- .Hash | printf "%.8s" -}}  — {{- .Author -}} {{- .Date -}}
{{- .Message | first_line -}}
{{- end -}} {{- if dereference_error .commits_err -}}
Error while obtaining commit log: {{ .commits_err }}
{{- end -}}
{{- end -}} {{- if .readme -}}
{{- .readme -}}
{{- end -}} {{- end -}}