diff --git a/branch.html.tmpl b/branch.html.tmpl new file mode 100644 index 0000000..896b2c2 --- /dev/null +++ b/branch.html.tmpl @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>{{.Title}}</title> + </head> + <body> + <header> + <h1><a href="./">{{.Title}}</a></h1> + </header> + <main> + <hr> + {{- range $i, $info := .List}} + <dl> + <dt>{{.Name}}</dt> + <dd>{{.Remote}}</dd> + <dd>{{.Merge}}</dd> + </dl> + {{- else}} + <p>…</p> + {{- end}} + <hr> + </main> + <footer> + <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> ›</p> + </footer> + </body> +</html> diff --git a/index.html.tmpl b/index.html.tmpl new file mode 100644 index 0000000..3c8151e --- /dev/null +++ b/index.html.tmpl @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>{{.Title}}</title> + </head> + <body> + <header> + <h1><a href="./">{{.Title}}</a></h1> + </header> + <main> + <hr> + {{- range $i, $info := .List}} + <dl> + <dt> + <a href="mailto:{{.Committer.Email}}">{{.Committer.Name}}</a> + </dt> + <dd>{{.Committer.When.Format "Jan. 02 '06 15:04:05"}}</dd> + <dd><pre>{{.Message}}</pre></dd> + </dl> + {{- else}} + <p>…</p> + {{- end}} + <hr> + </main> + <footer> + <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> ›</p> + </footer> + </body> +</html> diff --git a/repo.html.tmpl b/repo.html.tmpl new file mode 100644 index 0000000..e590557 --- /dev/null +++ b/repo.html.tmpl @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>{{.Title}}</title> + </head> + <body> + <header> + <h1><a href="./">{{.Title}}</a></h1> + </header> + <main> + <hr> + <h2>Repository</h2> + <p>Clone this repository using: <code>git clone {{.Link}}</code></p> + <h2>Branches</h2> + {{- range $i, $info := .List}} + <dl> + <dt>{{.Name}}</dt> + </dl> + {{- else}} + <p>…</p> + {{- end}} + <hr> + </main> + <footer> + <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> ›</p> + </footer> + </body> +</html>
home › develop › b42ed43 › 936122e