Add a shortcode for gfycat embeds

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-12-20 20:08:37 +05:30
parent 9d4d31721b
commit ceacfd94dc
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<center>
<div style='position:relative; padding-bottom:calc(100.00% + 44px)'>
<iframe src='https://gfycat.com/ifr/{{index .Params 0}}' frameborder='0' scrolling='no'
width='100%' height='100%' style='position:absolute;top:0;left:0;' allowfullscreen>
</iframe>
</div>
</center>