Add edit links on homepage
alex wennerberg alex@alexwennerberg.com
Sun, 21 Feb 2021 13:45:22 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
templates/index.html
→
templates/index.html
@@ -12,7 +12,7 @@ {{ .Creator }}</a>
<em>{{.TimeAgo}}</em> <a href="//{{.Creator}}.{{$.Config.Host}}/{{.Name}}"> {{ .Name}} - </a> + </a> {{ if eq .Creator $.AuthUser.Username }} (<a href="//{{$.Config.Host}}/edit/{{.Name}}">edit</a>){{ end}} </div> {{end}} <br>