git3html

git clone https://orangeshoelaces.net/git/git3html.git

0af831aba9c17724d873a7b2e250a44e0c076881

Author: Vasilii Kolobkov on 01/15/2019

Committer: Vasilii Kolobkov on 01/15/2019

Add headers to log and readme pages

Stats

git3html | 2 ++
1 file changed, 2 insertions(+)

Patch

diff --git a/git3html b/git3html
index 2d510b1..090cdce 100755
--- a/git3html
+++ b/git3html
@@ -138,6 +138,7 @@ footer() {
 readme() (
 	header "${projname} readme" .
 	root=$(tmrc)
+	printf '<h2>Readme</h2>\n'
 	printf '<pre>'
 	g ls-tree --name-only "$root" | grep '^README*' | while read -r readme; do
 		g cat-file --textconv "$root:$readme" | escape
@@ -206,6 +207,7 @@ log() (
 
 	header "${projname} log" .
 	cat <<-END
+	<h2>Log</h2>
 	<table>
 	<thead>
 	<tr>