mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
gdocs shortcode: Support all doc types (Slides, Docs, Sheets, etc.)
- Shortcode syntax changed to: {{< gdocs src="https://..." >}}
- Use with Google Docs `embed` URL rather than `link` URL.
Close #544
This commit is contained in:
1 parent
2bc968b9c5
commit
11a5d1bf50
1 file changed
+1
-1
@@ -1,3 +1,3 @@
|
||||
<div class="responsive-wrap">
|
||||
<iframe src="{{ strings.TrimSuffix (index (last 1 (split (.Get 0) "/")) 0) (.Get 0) }}embed?start=false&loop=false&delayms=3000" frameborder="0" width="960" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
||||
<iframe src="{{ .Get "src" }}" frameborder="0" width="960" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
||||
</div>
|
||||
Reference in new issue
Block a user