Template cleanup and bookmark allowed tags

This commit is contained in:
2023-05-07 12:24:23 +10:00
parent d94da6c9ca
commit e96e6dfdf7
4 changed files with 4 additions and 26 deletions

View File

@@ -30,9 +30,6 @@ html
script src="https://unpkg.com/htmx.org@1.8.4" integrity="sha384-wg5Y/JwF7VxGk4zLsJEcAojRtlVp1FKKdGy1qN+OMtdq72WRvX/EdRdqg/LOhYeV" crossorigin="anonymous"
script src="https://cdn.jsdelivr.net/npm/alpinejs@3.12.0/dist/cdn.min.js" defer="true"
script src="https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.js"
link href="https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.css" rel="stylesheet"
- if Hanami.app.settings.micropub_pub_key
link rel="pgpkey" href="/key"
body class="bg-white dark:bg-black selection:bg-blue-100 selection:text-blue-900 dark:selection:bg-blue-600 dark:selection:text-blue-100"

View File

@@ -1,5 +1,6 @@
div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200"
h1 Places
/ div id='map' data-markers="#{JSON.generate(places.map{|p| [p.lon,p.lat]})}" style='width: 400px; height: 300px;'
div class="mb-12 max-w-prose mx-auto"
- places.each do |post|