git3html

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

4d54bcc17f7c389cae1ef2676e41acca380c36de

Author: Vasilii Kolobkov on 01/14/2019

Committer: Vasilii Kolobkov on 01/14/2019

Make page titles consistent

Stats

git3html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/git3html b/git3html
index 447ccb5..7f38133 100755
--- a/git3html
+++ b/git3html
@@ -255,7 +255,7 @@ textfile() (
 	reppath="$2"
 	relbaseoutdir="$3"
 
-	header "${reppath}:" "$relbaseoutdir"
+	header "${projname} ${reppath}:" "$relbaseoutdir"
 	printf '<h2>%s</h2>\n' "$(echo "$reppath" | escape)"
 	printf '<pre><code>'
 	n=0
@@ -276,7 +276,7 @@ files() (
 	reppath="$6"
 
 	{
-		header "${reppath}:" "$relbaseoutdir"
+		header "${projname} ${reppath}:" "$relbaseoutdir"
 		printf '<h2>%s</h2>\n' "$(echo "$reppath" | escape)"
 		echo '<ul class="dir">'
 		if [ -n "$relparidx" ]; then