Changing the root path, this should be moved to a config option. - staticgit - A git static site generator, the site you are viewing now!
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 4021af214d4df88e183f9d4ce9fd14faf56bba72
(DIR) parent 0552fd260809624faa17bd5b9884cd5509db2062
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sun, 21 Jul 2024 13:57:32 +0100
Changing the root path, this should be moved to a config option.
Diffstat:
M internal/template/templates/index.… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/internal/template/templates/index.html b/internal/template/templates/index.html
@@ -10,7 +10,7 @@
<tbody>
{{range .Repos}}
<tr>
- <td><a href="{{.Name}}/index.html">{{.Name}}</a></td>
+ <td><a href="/src/{{.Name}}/index.html">{{.Name}}</a></td>
<td>{{.Description}}</td>
<td>{{.LastMod.Format "2006-01-02 15:04:05"}}</td>
</tr>