mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 16:14:05 +00:00
shortcode: Add Google Docs
Enables easily embedding Google Slides.
To use, copy and paste the share link from Google Docs in the form:
`{{< gdocs "https://..." >}}`
This commit is contained in:
1 parent
99c7074795
commit
7f25b7463e
2 files changed
+7
No files matched your search
@@ -238,6 +238,10 @@ small,
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
.responsive-wrap iframe {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/*************************************************
|
||||
* Modals.
|
||||
**************************************************/
|
||||
|
||||
@@ -0,0 +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>
|
||||
</div>
|
||||
Reference in new issue
Block a user