+1
-1
files/user.tmpl.html
+1
-1
files/user.tmpl.html
···
14
14
<ul>
15
15
{{ range .Data.Items }}
16
16
<li{{ if and $.LoggedIn (index $.Data.ReadItems .Link) }} class="read"{{ end }}>
17
-
<a href="/read/{{ .Link | escapeURL }}">
17
+
<a href="{{ if $.LoggedIn }}/read/{{ .Link | escapeURL }}{{ else }}{{ .Link }}{{ end }}">
18
18
{{ if .Title }} {{ .Title }} {{ else }} (empty title) {{ end }}
19
19
</a>
20
20
<br>