Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2017 18:18
What would you like to do?
Quick and dirty Hugo Shortcode for Google Forms
<iframe src="{{ .Get "src" }}/viewform?embedded=true" width="{{ .Get "width" }}" height="{{ .Get "height" }}" frameborder="0" marginheight="0" marginwidth="0">Chargement en cours…</iframe>
Copy link

Thanks! For my use, I replaced the contents (Chargement[…]) with a parameter ({{ .Get "alt" }}).

Copy link

Ah, nice one.

You did it like this ? marginwidth="0"> {{ .Get "alt" }} </iframe>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment