Add lat/long

This commit is contained in:
JP Hastings-Spital 2023-12-24 19:13:49 +00:00
parent 978d0abca6
commit ba57840a3c
2 changed files with 5 additions and 5 deletions

View file

@ -41,13 +41,13 @@
<div class="post-info">
{{ partial "tags.html" .Params.tags }}
<p>
{{ with .Params.location }}<p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
At <a href="{{ partial "geolink.html" .Params.location }}" class="p-location h-geo" target="_blank">{{ .Params.location.name }}</a>
</p>
At <a href="{{ partial "geolink.html" . }}" class="p-location h-geo" target="_blank">{{ .name }}<span class="hidden" aria-hidden>(<span class="p-latitude">{{ .latitude }}</span>, <span class="p-longitude">{{ .longitude }}</span>)</span></a>
</p>{{ end }}
<p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar">

View file

@ -3,5 +3,5 @@ Support repeating calendar events
Handle long lines {cm:2023-12-24}
Ensure ICS files have CRLF endings {cm:2023-12-22}
Add microformats {cm:2023-12-24}
Add lat & long to h-event p-location
Debug why h-event doesn't seem to be showing
Add lat & long to h-event p-location {cm:2023-12-24}
Debug why h-event doesn't seem to be showing {cm:2023-12-24}