]> Sergey Matveev's repositories - sgblog.git/blob - cmd/sgblog/gopher-entry.tmpl
Move templates to external files, make them HTML5
[sgblog.git] / cmd / sgblog / gopher-entry.tmpl
1 What: {{.Commit.Hash.String}}
2 When: {{.When}}
3 ------------------------------------------------------------------------
4 {{if .Topics}}Topics:{{range .Topics}} {{.}}{{end}}{{end}}
5 ------------------------------------------------------------------------
6 {{.Commit.Message -}}
7 {{- if .Note}}
8 ------------------------------------------------------------------------
9 Note:
10 {{.Note}}{{end -}}
11 {{- if .Cfg.CommentsEmail}}
12 ------------------------------------------------------------------------
13 leave comment: mailto:{{.Cfg.CommentsEmail}}?subject={{.TitleEscaped}}
14 {{end}}{{range $idx, $comment := .Comments}}
15 ------------------------------------------------------------------------
16 comment {{$idx}}:
17 {{$comment}}
18 {{end}}
19 ------------------------------------------------------------------------
20 Generated by: SGBlog {{.Version}}