repos / pgit

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

pgit / html
Eric Bower · 17 Aug 23

summary.page.tmpl

 1{{template "base" .}}
 2
 3{{define "title"}}{{.Repo.RepoName}}{{if .Repo.Desc}}- {{.Repo.Desc}}{{end}}{{end}}
 4{{define "meta"}}
 5<link rel="stylesheet" href="/syntax.css" />
 6{{end}}
 7
 8{{define "content"}}
 9  {{.Readme}}
10{{end}}