add gab shortcode

This commit is contained in:
Greg Gauthier 2021-11-27 15:53:30 +00:00
parent 5426d6eb20
commit 31cb15e071
2 changed files with 10 additions and 4 deletions

View File

@ -47,7 +47,11 @@ And this passage uses the standard markdown double-tilde to strike through, but
A Gab Embed Widget:
{{< gab >}}
[Note: this widget presently does not work because of the security policy set on Gab]
{{</* gab exitingthecave 107345603615120884 */>}}
{{< gab exitingthecave 107345603615120884 >}}
{{% ah %}} Multimedia {{% /ah %}}

View File

@ -1,4 +1,6 @@
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe src="https://gab.com/exitingthecave/posts/107345603615120884" style="position: absolute;
top: 0; left: 0; width: 50%; height: 100%; border:0;"></iframe>
<div style="position: relative; padding-bottom: 1%; height: 100%; overflow: hidden;">
<iframe id="gab" type="text/html" height="100%" width="400"
src="https://gab.com/{{ index .Params 0 }}/posts/{{ index .Params 1}}"
style="border-width: 0"></iframe>
</div>