blob: 10ef0b9493fd069d74139b59f0c40d3cf069aed9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{{- $path := default "linux/comments/aeufh6/vlc_has_now_reached_3_billions_downloads_and/edsvibz" (.Get "path" | default (.Get 0)) -}}
{{- $depth := default "2" (.Get "depth" | default (.Get 1)) -}}
{{- $context := default "1" (.Get "context" | default (.Get 2)) -}}
{{- $theme := default "light" (.Get "theme" | default (.Get 3)) -}}
{{- $showtitle := default "true" (.Get "showtitle" | default (.Get 4)) -}}
{{- $showedits := default "false" (.Get "showedits" | default (.Get 5)) -}}
{{- $showmedia := default "false" (.Get "showmedia" | default (.Get 6)) -}}
{{- $showmore := default "false" (.Get "showmore" | default (.Get 7)) -}}
<reddit-comment>
<iframe loading="lazy"
id="reddit-embed"
src="https://www.redditmedia.com/r/{{ trim $path "/" }}/
?depth={{ $depth }}
&embed=true
&showmore={{ $showmore }}
&showtitle={{ $showtitle }}
&context={{ $context }}
&showmedia={{ $showmedia }}
&theme={{ $theme }}
&showedits={{ $showedits }}
&created={{ now.Format "2006-01-02T15:04:05Z" }}"
sandbox="allow-scripts allow-same-origin allow-popups"
style="border: none;"
height="452"
width="640"
scrolling="no"
></iframe>
</reddit-comment>
|