This website requires JavaScript.
Explore
Help
Sign In
franconian
/
www.franconian.net
Watch
13
Star
0
Fork
You've already forked www.franconian.net
0
Code
Pull Requests
Releases
Activity
5683dad4d9
www.franconian.net
/
layouts
/
shortcodes
/
image.html
5 lines
92 B
HTML
Raw
Normal View
History
Unescape
Escape
Add custom 'image' shortcode
2020-11-23 18:56:53 +01:00
<
figure
>
Remove redundant alt text when figcaption is present
2020-11-24 15:13:16 +01:00
<
img
src
=
"{{ .Get "
src
"
}
}
"
>
Add custom 'image' shortcode
2020-11-23 18:56:53 +01:00
<
figcaption
>
{{ .Get "alt" }}
<
/
figcaption
>
<
/
figure
>