repos / pgit

static site generator for git
git clone https://github.com/picosh/pgit.git

commit
3e208c9
parent
c970741
author
Eric Bower
date
2023-08-17 20:27:22 +0000 UTC
feat: add description to summary title
1 files changed,  +1, -1
M html/summary.page.tmpl
+1, -1
1@@ -1,6 +1,6 @@
2 {{template "base" .}}
3 
4-{{define "title"}}{{.Repo.RepoName}}{{end}}
5+{{define "title"}}{{.Repo.RepoName}}{{if .Repo.Desc}}- {{.Repo.Desc}}{{end}}{{end}}
6 {{define "meta"}}
7 <link rel="stylesheet" href="/syntax.css" />
8 {{end}}