Commit 1207cd44b83ae951281d2e37a4bd4ff227368c01

Parents: 8f67ad96ba7d9a14d3e387e5cbb052451773a249

From: Moritz Poldrack <git@moritz.sh>
Date: Thu Nov 9 10:27:06 2023 +0700

commit: remove trailing comma

		

Stats

themes/i-am-too-lazy-to-make-a-theme/commit.html +1/-1

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/themes/i-am-too-lazy-to-make-a-theme/commit.html b/themes/i-am-too-lazy-to-make-a-theme/commit.html
index fba15250e133a50bafbe5a6fe3ee9f03f3645a4e..b9cfd3ab0fc13604c4c1388e8b0a06c350ba1784 100644
--- a/themes/i-am-too-lazy-to-make-a-theme/commit.html
+++ b/themes/i-am-too-lazy-to-make-a-theme/commit.html
@@ -12,7 +12,7 @@ 		</h1>
 		<p>
 			{{$comma := false}}
 			Parents:{{range .ParentHashes}}
-			<a href="./{{.String}}">{{.String}}</a>,
+			{{if $comma}}, {{end}}{{$comma = true}}<a href="./{{.String}}">{{.String}}</a>
 			{{end}}
 		</p>
 		<p>