Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick and dirty Hugo Shortcode for Google Forms
<iframe src="https://docs.google.com/forms/d/e/{{ .Get "src" }}/viewform?embedded=true" width="{{ .Get "width" }}" height="{{ .Get "height" }}" frameborder="0" marginheight="0" marginwidth="0">Chargement en cours…</iframe>
@pianosaurus

This comment has been minimized.

Copy link

@pianosaurus pianosaurus commented Feb 16, 2020

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

@Miouyouyou

This comment has been minimized.

Copy link
Owner Author

@Miouyouyou Miouyouyou commented Feb 17, 2020

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