Hi,
I try to use your library (thanks a lot fo your work) but I wasn't able to move forward the first explications.
- Font Awesome icons is in my project,
- I downloaded the zip, placed the
shortcodes files in theme>layouts>shortcodes,
- the
JS files in theme>assets>js,
- the
images in my-project>assets>images
- and the
min.css file in my-project>public>css
- I added
{{ partial "leaflet-loader" . }} in the html page of my project i wanted to work on
- and in my
{{ if .HasShortcode "leaflet-map" }} {{ partial "leaflet-loader" . }} {{ end }}
but when I pasted {{< leaflet-map mapHeight="500px" mapWidth="100%" mapLat="27.66995" mapLon="85.43249" >}} in my .md content file I have this error in my console: failed to unmarshal YAML: yaml: line 7: could not find expected ':'
I guess I'm doing something wrong but I can't find what... It's the first time I use Hugo and Leaflet and now I'm quite lost :)
Can you help me please ?
Hi,
I try to use your library (thanks a lot fo your work) but I wasn't able to move forward the first explications.
shortcodes filesintheme>layouts>shortcodes,JS filesintheme>assets>js,imagesinmy-project>assets>imagesmin.css fileinmy-project>public>css{{ partial "leaflet-loader" . }}in the html page of my project i wanted to work on{{ if .HasShortcode "leaflet-map" }} {{ partial "leaflet-loader" . }} {{ end }}but when I pasted
{{< leaflet-map mapHeight="500px" mapWidth="100%" mapLat="27.66995" mapLon="85.43249" >}}in my .md content file I have this error in my console:failed to unmarshal YAML: yaml: line 7: could not find expected ':'I guess I'm doing something wrong but I can't find what... It's the first time I use Hugo and Leaflet and now I'm quite lost :)
Can you help me please ?