all repos — honk @ e0286830e8c33a62501d9547afacb856d2050615

my fork of honk

only show lat/lon if one is present
Ted Unangst tedu@tedunangst.com
Wed, 02 Oct 2019 21:27:44 -0400
commit

e0286830e8c33a62501d9547afacb856d2050615

parent

35c52fc06caa7f0b6978f1c9af2c5d18a5d2b323

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

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

@@ -46,7 +46,7 @@ {{ with .Time }}

<p>Time: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}} {{ end }} {{ with .Place }} -<p>Location: {{ with .Url }}<a href="{{ . }}" rel=noreferrer>{{ end }}{{ .Name }}{{ if .Url }}</a>{{ end }} <a href="https://www.openstreetmap.org/?mlat={{ .Latitude }}&mlon={{ .Longitude}}" rel=noreferrer>{{ .Latitude }} {{ .Longitude }}</a> +<p>Location: {{ with .Url }}<a href="{{ . }}" rel=noreferrer>{{ end }}{{ .Name }}{{ if .Url }}</a>{{ end }}{{ if or .Latitude .Longitude }} <a href="https://www.openstreetmap.org/?mlat={{ .Latitude }}&mlon={{ .Longitude}}" rel=noreferrer>{{ .Latitude }} {{ .Longitude }}</a>{{ end }} {{ end }} {{ range .Donks }} {{ if .Local }}