{"action":"created","issue":{"url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/2","repository_url":"https://api.github.com/repos/Hanzei/hugo-component-osm","labels_url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/2/comments","events_url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/2/events","html_url":"https://github.com/Hanzei/hugo-component-osm/issues/2","id":350480808,"node_id":"MDU6SXNzdWUzNTA0ODA4MDg=","number":2,"title":"Where does the html go?","user":{"login":"amunizp","id":5783911,"node_id":"MDQ6VXNlcjU3ODM5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5783911?v=4","gravatar_id":"","url":"https://api.github.com/users/amunizp","html_url":"https://github.com/amunizp","followers_url":"https://api.github.com/users/amunizp/followers","following_url":"https://api.github.com/users/amunizp/following{/other_user}","gists_url":"https://api.github.com/users/amunizp/gists{/gist_id}","starred_url":"https://api.github.com/users/amunizp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amunizp/subscriptions","organizations_url":"https://api.github.com/users/amunizp/orgs","repos_url":"https://api.github.com/users/amunizp/repos","events_url":"https://api.github.com/users/amunizp/events{/privacy}","received_events_url":"https://api.github.com/users/amunizp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-14T15:29:43Z","updated_at":"2018-09-05T22:28:29Z","closed_at":null,"author_association":"NONE","body":"So where do I found this via an issue by @divinerites thank you, I really do not want to have google maps on my site. I have found that it works as described if I set the shortcode on a post\r\n\r\n> \r\n> ---\r\n> title: First post!\r\n> date: 2015-01-05\r\n> ---\r\n> \r\n> \r\n> {{< openstreetmap mapName=\"c4ad-cic_240326\" >}}\r\n> \r\n> This is my first post, how exciting!\r\n\r\n But for the contact page, it needs to go on the layout?\r\nI thought I would need to go to:\r\nHugoWebsite/themes/airspace-hugo/layouts/partials/contact.html\r\n\r\nremove everything between {{ with .gmaps}} and {{end}} and replace it with \r\n\r\n> \r\n> \r\n> <div class=\"block\">\r\n>     <h2>Source OpenStreetMap</h2>\r\n>     <div class=\"google-map\">\r\n>         <iframe width=\"{{ $mapWidth }}\" height=\"{{ $mapEight }}\" frameBorder=\"0\" src=\"https://umap.openstreetmap.fr/fr/map/{{- $mapName -}}?scaleControl={{ $scaleControl }}&miniMap={{ $miniMap }}&scrollWheelZoom={{ $scrollWheelZoom }}&zoomControl={{ $zoomControl }}&allowEdit={{ $allowEdit }}&moreControl={{ $moreControl }}&searchControl={{ $searchControl }}&tilelayersControl={{ $tilelayersControl }}&embedControl={{ $embedControl }}&datalayersControl={{ $datalayersControl }}&onLoadPanel={{ $onLoadPanel }}&captionBar={{ $captionBar }}&fullscreenControl={{ $fullscreenControl }}#{{ $scale }}/{{ $coordX }}/{{ $coordY }}\"></iframe>\r\n>     </div>\r\n> </div>\r\n\r\nIs this right?"},"comment":{"url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/comments/418902061","html_url":"https://github.com/Hanzei/hugo-component-osm/issues/2#issuecomment-418902061","issue_url":"https://api.github.com/repos/Hanzei/hugo-component-osm/issues/2","id":418902061,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODkwMjA2MQ==","user":{"login":"amunizp","id":5783911,"node_id":"MDQ6VXNlcjU3ODM5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5783911?v=4","gravatar_id":"","url":"https://api.github.com/users/amunizp","html_url":"https://github.com/amunizp","followers_url":"https://api.github.com/users/amunizp/followers","following_url":"https://api.github.com/users/amunizp/following{/other_user}","gists_url":"https://api.github.com/users/amunizp/gists{/gist_id}","starred_url":"https://api.github.com/users/amunizp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amunizp/subscriptions","organizations_url":"https://api.github.com/users/amunizp/orgs","repos_url":"https://api.github.com/users/amunizp/repos","events_url":"https://api.github.com/users/amunizp/events{/privacy}","received_events_url":"https://api.github.com/users/amunizp/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T22:28:29Z","updated_at":"2018-09-05T22:28:29Z","author_association":"NONE","body":"Sorry I did not explain myself correctly. If I want to put it on the blog or in a markdown file it works great. (Files under Content). \r\n\r\nIn the [original concept](https://discourse.gohugo.io/t/shortcode-for-openstreetmap-instead-of-googlemaps/12965)  it is used in a partial page of the theme airspace hugo. Live version can be seen [here](https://www.cocoon-arolla.com/contact/).\r\n\r\nI have attempted to replicate it [here](https://amunizp.gitlab.io/c4ad-hugo/contact/). My \"code\" can be found [here](https://gitlab.com/amunizp/c4ad-hugo). \r\n\r\nI am guessing there is no easy way to do this, do you have an example page I can check out? "}}
{"actor":{"display_login":"amunizp"}}