aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes')
-rw-r--r--themes/default/layouts/shortcodes/imgur-video.html9
-rw-r--r--themes/default/layouts/shortcodes/video.html3
2 files changed, 7 insertions, 5 deletions
diff --git a/themes/default/layouts/shortcodes/imgur-video.html b/themes/default/layouts/shortcodes/imgur-video.html
index a4ed76c..c60cbff 100644
--- a/themes/default/layouts/shortcodes/imgur-video.html
+++ b/themes/default/layouts/shortcodes/imgur-video.html
@@ -8,9 +8,10 @@
{{- partial "video-container.html"
(dict
- "Author" .Page.Section
- "Caption" $caption
- "Options" $options
- "Source" (print "https://i.imgur.com/" $id ".mp4")
+ "Author" .Page.Section
+ "Caption" $caption
+ "Options" $options
+ "RelURL" .Page.RelPermalink
+ "Source" (print "https://i.imgur.com/" $id ".mp4")
)
-}}
diff --git a/themes/default/layouts/shortcodes/video.html b/themes/default/layouts/shortcodes/video.html
index 9148853..3820db0 100644
--- a/themes/default/layouts/shortcodes/video.html
+++ b/themes/default/layouts/shortcodes/video.html
@@ -17,11 +17,12 @@
(dict
"Author" .Page.Section
"Caption" $caption
- "Options" $options
"End" $end
"Height" $height
+ "Options" $options
"Poster" $poster
"Preload" $preload
+ "RelURL" .Page.RelPermalink
"Source" $source
"Source" $source
"Start" $start