Initial site version

This commit is contained in:
Elnu 2022-02-17 19:38:08 -08:00
parent faccc96951
commit 71b28ac30a
105 changed files with 106592 additions and 2 deletions

View file

@ -0,0 +1,3 @@
<img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg">
<br>
Submissions are copyright &copy; {{ dateFormat "2006" now }} their respective submitters, and are licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a> license.

View file

@ -0,0 +1,23 @@
<!--
Parameters:
type - (Required) album / track / playlist / artist
id - (Required) Target ID
width - (Optional) width
height - (Optional) height
-->
{{ if .IsNamedParams }}
<iframe src="https://open.spotify.com/embed/{{ .Get "type" }}/{{ .Get "id" }}"
width="{{ default "100%" (.Get "width") }}"
height="{{ default "380" (.Get "height") }}"
frameborder="0"
allowtransparency="true"
allow="encrypted-media"></iframe>
{{ else }}
<iframe src="https://open.spotify.com/embed/{{ .Get 0 }}/{{ .Get 1 }}"
width="{{ default "100%" (.Get 2) }}"
height="{{ default "380" (.Get 3) }}"
frameborder="0"
allowtransparency="true"
allow="encrypted-media"></iframe>
{{ end }}