mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
shortcode-templates.md: Remove stray period
This commit is contained in:
1 parent
af2905fe45
commit
a7422f35d1
1 file changed
+1
-1
@@ -124,7 +124,7 @@ You could then include the following as part of your shortcode templating:
|
|||||||
<img src="{{.Get "src" }}" alt="">
|
<img src="{{.Get "src" }}" alt="">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<img src="{{.Get 0}}" alt="">
|
<img src="{{.Get 0}}" alt="">
|
||||||
{{ end }}.
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [example Vimeo shortcode][vimeoexample] below for `.IsNamedParams` in action.
|
See the [example Vimeo shortcode][vimeoexample] below for `.IsNamedParams` in action.
|
||||||
|
|||||||
Reference in new issue
Block a user