repos / pgit

static site generator for git
git clone https://github.com/picosh/pgit.git

commit
c970741
parent
67b21be
author
Eric Bower
date
2023-08-17 20:18:47 +0000 UTC
refactor: commit file headers
1 files changed,  +4, -1
M html/commit.page.tmpl
+4, -1
 1@@ -40,7 +40,10 @@
 2 
 3   {{range .Diff.Files}}
 4     <div id="diff-{{.Name}}" class="flex justify-between mono">
 5-      <a href="#diff-{{.Name}}">{{.FileType}} {{if eq .FileType "R"}}{{.OldName}} => {{end}}{{.Name}}</a>
 6+      <div>
 7+        <span>{{.FileType}} {{if eq .FileType "R"}}{{.OldName}} => {{end}}</span>
 8+        <a href="#diff-{{.Name}}">{{.Name}}</a>
 9+      </div>
10 
11       <div>
12         <span class="color-green">+{{.NumAdditions}}</span>,