# Embedding a map

**URL:** <https://discourse.gohugo.io/t/embedding-a-map/11085>\
**Category:** support\
**Created:** [March 17, 2018, 10:21pm UTC](https://discourse.gohugo.io/t/embedding-a-map/11085 "2018-03-17T22:21:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![damien](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@damien](https://discourse.gohugo.io/u/damien)\
**Post date:** [March 17, 2018, 10:21pm UTC](https://discourse.gohugo.io/t/embedding-a-map/11085/1 "2018-03-17T22:21:28Z")

</div>

Hello,

I am new to Hugo. Is there a way to embed a google map or openstreetmap in Hugo using shortcodes or any other way?

Thank you,

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [March 17, 2018, 11:56pm UTC](https://discourse.gohugo.io/t/embedding-a-map/11085/2 "2018-03-17T23:56:29Z")

</div>

Yes, you can put the map’s embed code in a template or, simply paste it in the a markdown content file where you want it.

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [March 18, 2018, 12:32pm UTC](https://discourse.gohugo.io/t/embedding-a-map/11085/3 "2018-03-18T12:32:11Z")

</div>

This is an example:

> <https://github.com/RickCogley/eSolia/blob/master/content/en/about.md>

This site is built in an old Hugo, but the concept still should work for you. I just pasted the Google Maps embed code in the bottom of this markdown file.

---

<div class="post-metadata">

**Author:** ![damien](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@damien](https://discourse.gohugo.io/u/damien)\
**Post date:** [March 19, 2018, 4:49pm UTC](https://discourse.gohugo.io/t/embedding-a-map/11085/4 "2018-03-19T16:49:10Z")

</div>

Thank you RickCogley, it’s working fine.
