Hugo Shortcodes
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Giphy

How to use

# file.md

{{< giphy g7GKcSzwQfugw >}}

Shortcode

# giphy.html

<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>


Sample