Skip to content

Commit

Permalink
change map iframe to direct html (so it works)
Browse files Browse the repository at this point in the history
  • Loading branch information
coolmule0 committed May 1, 2024
1 parent 0cf7beb commit 394a5fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,10 @@ disableHugoGeneratorInject = false
[[menu.main]]
identifier = "demonstrating"
name = "Demonstrating"
url = "demonstrating/"
url = "demonstrating/"

# Render html in files
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
2 changes: 1 addition & 1 deletion content/contact/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sheffield,
S10 2TA,
UK

{{< map-container src="https://www.openstreetmap.org/export/embed.html?bbox=-1.4981827139854431%2C53.378000612927636%2C-1.4887467026710512%2C53.38118934617379&amp;layer=mapnik&amp;marker=53.37959500939817%2C-1.493464708328247">}}
<iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=-1.498139798641205%2C53.37805341376647%2C-1.488703787326813%2C53.38124214305892&amp;layer=mapnik&amp;marker=53.37964780826013%2C-1.4934217929840088" style="border: 1px solid black"></iframe>


[View Larger Map](https://www.openstreetmap.org/?mlat=53.37960&amp;mlon=-1.49346#map=19/53.37960/-1.49346)
Expand Down
2 changes: 0 additions & 2 deletions layouts/shortcodes/map-container.html

This file was deleted.

0 comments on commit 394a5fe

Please sign in to comment.