From 5091695e75b2db30b8926d8aa17164c84031bc77 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sat, 17 Dec 2022 21:33:04 +0530 Subject: templates: repo and log --- templates/repo.html | 56 +++++++++++++++++++---------------------------------- 1 file changed, 20 insertions(+), 36 deletions(-) (limited to 'templates/repo.html') diff --git a/templates/repo.html b/templates/repo.html index ddc3f01..d4e3e46 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -1,50 +1,34 @@ {{ define "repo" }} + {{ .name }} + {{ if .parent }} + — {{ .parent }} + {{ end }} + {{ template "head" . }}
-

{{ .meta.Title }}

-

{{ .meta.Description }}

+

+ all repos + — {{ .name }} +

+

{{ .desc }}

{{ template "nav" . }}
{{ $repo := .name }} - {{ $ref := .ref }} - {{ $parent := .parent }} - - - - - - {{ range .files }} - {{ if .IsFile }} - - - - - {{ else }} - - - - +
+ {{ range .commits }} +
+
{{ slice .Hash.String 0 8 }}
+
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ .Message }}
+
+
{{ .Author.Name }} {{ .Author.Email }}
{{ end }} - {{ end }} -
.. -
{{ .Mode }} - {{ if $parent }} - {{ .Name }} - {{ else }} - {{ .Name }} - {{ end }} -
{{ .Mode }} - {{ if $parent }} - {{ .Name }}/ - {{ else }} - {{ .Name }}/ - {{ end }} -
-
+ +
           {{- if .readme }}{{ .readme }}{{- end -}}
         
-- cgit