all repos — honk @ e16f77164e68b3fef89b925d60bca86df623fc95

my fork of honk

link avatars
Ted Unangst tedu@tedunangst.com
Sun, 06 Oct 2019 20:42:53 -0400
commit

e16f77164e68b3fef89b925d60bca86df623fc95

parent

c95afc9403e5987b1c18be3edd55f2d4a06b8475

1 files changed, 13 insertions(+), 1 deletions(-)

jump to
M views/honk.htmlviews/honk.html

@@ -2,9 +2,21 @@ <article class="honk {{ .Honk.Style }}" data-convoy="{{ .Honk.Convoy }}">

{{ $bonkcsrf := .BonkCSRF }} {{ with .Honk }} <header> +{{ if $bonkcsrf }} +<a class="honkerlink" href="/h?xid={{ .Honker }}" data-xid="{{ .Honker }}"> +{{ else }} +<a href="{{ .Honker }}" rel=noreferrer> +{{ end }} <img alt="" src="/a?a={{ .Honker}}"> +{{ if $bonkcsrf }} </a> {{ end }} {{ if .Oonker }} +{{ if $bonkcsrf }} +<a class="honkerlink" href="/h?xid={{ .Oonker }}" data-xid="{{ .Oonker }}"> +{{ else }} +<a href="{{ .Oonker }}" rel=noreferrer> +{{ end }} <img alt="" src="/a?a={{ .Oonker}}"> +{{ if $bonkcsrf }} </a> {{ end }} {{ end }} <p> {{ if $bonkcsrf }}

@@ -17,7 +29,7 @@ {{ if .Oonker }}

<br> <span style="margin-left: 1em;" class="clip"> {{ if $bonkcsrf }} -original: <a class="honkerlink" href="/h?xid={{ .Oonker }}">{{ .Oondle }}</a> +original: <a class="honkerlink" href="/h?xid={{ .Oonker }}" data-xid="{{ .Oonker }}">{{ .Oondle }}</a> {{ else }} original: <a href="{{ .Oonker }}" rel=noreferrer>{{ .Oondle }}</a> {{ end }}