Add Peertube module
This commit is contained in:
5
layouts/shortcodes/peertube.html
Normal file
5
layouts/shortcodes/peertube.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
|
||||
<div class="video_wrapper">
|
||||
{{ with .Get "src" }}<iframe width="100%" height="100%" src={{ . }} frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"></iframe>{{ end }}
|
||||
</div>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user