Skip to content

Commit

Permalink
Show a permalink link instead of reply when not logged
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusor committed Jan 24, 2021
1 parent d1eb98f commit aa0c03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/item/meta.html
Expand Up @@ -6,7 +6,7 @@
<nav><ul>
{{- $link := (PermaLink $it) -}}
{{- if not (sameBase req.URL.Path $link) -}}
{{- if eq current "content" }}
{{- if and CurrentAccount.IsValid (eq current "content") }}
<li><small><a href="{{$link}}" rel="bookmark" title="Reply{{if .Title}}: {{$it.Title }}{{end}}">{{ if $it.Private }}{{icon "lock"}} {{ end -}} reply</a></small></li>
{{- else -}}
<li><small><a href="{{$link}}" rel="bookmark" title="Permalink{{if .Title}}: {{$it.Title }}{{end}}">{{ if $it.Private }}{{icon "lock"}} {{ end -}} permalink</a></small></li>
Expand Down

0 comments on commit aa0c03b

Please sign in to comment.