all repos — honk @ 24d8da1fd7e051272ff0b800f69a481986013477

my fork of honk

back to desc for alt
Ted Unangst tedu@tedunangst.com
Mon, 09 Sep 2019 14:09:50 -0400
commit

24d8da1fd7e051272ff0b800f69a481986013477

parent

a570b38eb560d950c4edd30b0f7b0395912aacac

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

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

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

{{ $bonkcsrf := .BonkCSRF }} {{ with .Honk }} <header> -<img alt="avatar" src="/a?a={{ .Honker}}"> +<img alt="" src="/a?a={{ .Honker}}"> {{ if .Oonker }} -<img alt="avatar" src="/a?a={{ .Oonker}}"> +<img alt="" src="/a?a={{ .Oonker}}"> {{ end }} <p> {{ if $bonkcsrf }}

@@ -47,7 +47,7 @@ {{ if .Local }}

{{ if eq .Media "text/plain" }} <p><a href="/d/{{ .XID }}">Attachment: {{ .Name }}</a> {{ else }} -<p><a href="/d/{{ .XID }}"><img src="/d/{{ .XID }}" title="{{ .Desc }}" alt="{{ .Name }}"></a> +<p><a href="/d/{{ .XID }}"><img src="/d/{{ .XID }}" title="{{ .Desc }}" alt="{{ .Desc }}"></a> {{ end }} {{ else }} {{ if .XID }}

@@ -56,7 +56,7 @@ {{ else }}

{{ if eq .Media "video/mp4" }} <p><a href="{{ .URL }}"><video controls src="{{ .URL }}">{{ .Name }}</video></a> {{ else }} -<p><a href="{{ .URL }}"><img src="{{ .URL }}" title="{{ .Desc }}" alt="{{ .Name }}"></a> +<p><a href="{{ .URL }}"><img src="{{ .URL }}" title="{{ .Desc }}" alt="{{ .Desc }}"></a> {{ end }} {{ end }} {{ end }}