added shortcode for image with fixed max-width (imgwwidth)
This commit is contained in:
parent
2b7198b032
commit
210793da66
1 changed files with 1 additions and 0 deletions
1
layouts/shortcodes/imgwwidth.html
Normal file
1
layouts/shortcodes/imgwwidth.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<img src='{{ .Get "src" }}' alt='{{ .Get "alt" }}' style='max-width: {{ .Get "width" }};' />
|
||||||
Loading…
Add table
Add a link
Reference in a new issue