7 lines
338 B
HTML
7 lines
338 B
HTML
<!-- https://todayilearned.jm3.net/learnings/hugo-shortcode-for-giphy-embeds/ -->
|
|
<div style="width:100%;height:0;padding-bottom:40%;position:relative;">
|
|
<iframe src="https://giphy.com/embed/{{ (index .Params 0) }}"
|
|
width="100%" height="100%" style="position:absolute"
|
|
frameBorder="0" allowFullScreen>
|
|
</iframe>
|
|
</div> |