Skip to content

Commit

Permalink
check url shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan committed May 10, 2024
1 parent 436b199 commit f3bf655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/articles/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Both are supported, choose whichever is most convenient.
url-template="https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png"
></l-tile-layer>
<l-marker lat-lng="[51.5, -0.09]"><l-icon
icon-url="/leaflet-html/icons/leaf-green.png"
shadow-url="/leaflet-html/icons/leaf-shadow.png"
icon-url={{ url(path='icons/leaf-green.png') }}
shadow-url={{ url(path='icons/leaf-shadow.png') }}
icon-size="[38, 95]"
shadow-size="[50, 64]"
icon-anchor="[22, 94]"
Expand Down
1 change: 1 addition & 0 deletions docs/templates/shortcodes/url.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ get_url(path=path) }}

0 comments on commit f3bf655

Please sign in to comment.