diff --git a/layouts/shortcodes/peertube.html b/layouts/shortcodes/peertube.html new file mode 100644 index 0000000..0a7251b --- /dev/null +++ b/layouts/shortcodes/peertube.html @@ -0,0 +1,7 @@ +{{- $id := .Get "id" | default (.Get 0) -}} +{{- $class := .Get "class" | default (.Get 1) -}} +{{- $title := .Get "title" | default "Shared video" }} +
+ +
+ diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 0a7251b..1bdc90e 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,7 +1,15 @@ -{{- $id := .Get "id" | default (.Get 0) -}} -{{- $class := .Get "class" | default (.Get 1) -}} +{{- $src := .Get "src" | default (.Get 0) -}} {{- $title := .Get "title" | default "Shared video" }} -
- +
+