mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 19:50:52 -04:00
shortcode-templates.md: Remove stray period
This commit is contained in:
parent
af2905fe45
commit
a7422f35d1
@ -124,7 +124,7 @@ You could then include the following as part of your shortcode templating:
|
||||
<img src="{{.Get "src" }}" alt="">
|
||||
{{ else }}
|
||||
<img src="{{.Get 0}}" alt="">
|
||||
{{ end }}.
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
See the [example Vimeo shortcode][vimeoexample] below for `.IsNamedParams` in action.
|
||||
|
Loading…
x
Reference in New Issue
Block a user