all repos — honk @ 55963627be045c871debba475a94aa25cb2e1ea0

my fork of honk

close p for location to keep images out
Ted Unangst tedu@tedunangst.com
Sat, 03 Feb 2024 14:37:37 -0500
commit

55963627be045c871debba475a94aa25cb2e1ea0

parent

40a147c639c07c66917e8c63159ce3d30b4ae64a

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

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

@@ -57,10 +57,10 @@ <p>{{ .HTPrecis }}

<p class="content">{{ .HTML }} {{ with .Time }} <p>Time: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}} -{{ if .Duration }}<br>Duration: {{ .Duration }}{{ end }} +{{ if .Duration }}<br>Duration: {{ .Duration }}{{ end }}</p> {{ end }} {{ with .Place }} -<p>Location: {{ with .Url }}<a href="{{ . }}" rel=noreferrer>{{ end }}{{ .Name }}{{ if .Url }}</a>{{ end }}{{ if or .Latitude .Longitude }} <a href="{{ if eq $maplink "apple" }}https://maps.apple.com/?q={{ or .Name "here" }}&z=16&ll={{ .Latitude }},{{ .Longitude }}{{ else }}https://www.openstreetmap.org/?mlat={{ .Latitude }}&mlon={{ .Longitude}}#map=16/{{ .Latitude }}/{{ .Longitude }}{{ end }}" rel=noreferrer>{{ .Latitude }} {{ .Longitude }}</a>{{ end }} +<p>Location: {{ with .Url }}<a href="{{ . }}" rel=noreferrer>{{ end }}{{ .Name }}{{ if .Url }}</a>{{ end }}{{ if or .Latitude .Longitude }} <a href="{{ if eq $maplink "apple" }}https://maps.apple.com/?q={{ or .Name "here" }}&z=16&ll={{ .Latitude }},{{ .Longitude }}{{ else }}https://www.openstreetmap.org/?mlat={{ .Latitude }}&mlon={{ .Longitude}}#map=16/{{ .Latitude }}/{{ .Longitude }}{{ end }}" rel=noreferrer>{{ .Latitude }} {{ .Longitude }}</a></p>{{ end }} {{ end }} {{ range .Donks }} {{ if .Local }}