dont track read links when unlogged in
Ángel Carbajal-Castañeda a@ac2.no
Tue, 23 Sep 2025 12:31:13 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
files/user.tmpl.html
→
files/user.tmpl.html
@@ -14,7 +14,7 @@ {{ end }}
<ul> {{ range .Data.Items }} <li{{ if and $.LoggedIn (index $.Data.ReadItems .Link) }} class="read"{{ end }}> - <a href="/read/{{ .Link | escapeURL }}"> + <a href="{{ if $.LoggedIn }}/read/{{ .Link | escapeURL }}{{ else }}{{ .Link }}{{ end }}"> {{ if .Title }} {{ .Title }} {{ else }} (empty title) {{ end }} </a> <br>