tweaking of some shortcodes and adding osm
This commit is contained in:
parent
35425157b0
commit
309a419d50
7 changed files with 32 additions and 12 deletions
4
layouts/shortcodes/osm.html
Normal file
4
layouts/shortcodes/osm.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
{{ $osmClasses := "{{ .Get `height` | default `h-96`}} {{.Get `width` | default `w-full`}}" }}
|
||||
|
||||
<iframe class="{{with .Get `height` }}{{ . }}{{ else }}h-96{{end}} {{with .Get `width` }}{{ . }}{{ else }}w-full{{end}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{{ .Get `src`}}"></iframe><br/><small><a href="{{ .Get `href`}}">View Larger Map</a></small>
|
Loading…
Add table
Add a link
Reference in a new issue