Browse Source

update

main
Hendrik Langer 2 years ago
parent
commit
bf314a52e6
  1. 7
      content/projects/xd0.de.de.md
  2. 9
      layouts/shortcodes/peertube.html
  3. 4
      static/css/custom.css

7
content/projects/xd0.de.de.md

@ -32,7 +32,14 @@ Dienste auf xd0.de werden mit Freier Software betrieben.
## Self-Hosting
* https://yunohost.org/
* https://www.freedombox.org/
* https://github.com/awesome-selfhosted/awesome-selfhosted
* https://prism-break.org
* https://www.privacytools.io/
* https://www.linuxserver.io/
* https://www.proxmox.com
* https://www.univention.com/products/ucs/
* https://switching.software
***

9
layouts/shortcodes/peertube.html

@ -0,0 +1,9 @@
{{ if .IsNamedParams }}
<div class="{{ with .Get "class" }}{{ . }}{{ else }}embed video-player{{ end }}">
<iframe class="youtube-player" type="text/html" width="{{ with .Get "width" }}{{ . }}{{ else }}560{{ end }}" height="{{ with .Get "height" }}{{ . }}{{ else }}315{{ end }}" sandbox="allow-same-origin allow-scripts allow-popups" {{ with .Get "title" }}title="{{ . }}"{{ end }} src="https://tube.xd0.de/videos/embed/{{ .Get "id" }}" frameborder="0" allowfullscreen></iframe>
</div>
{{ else }}
<div class="embed video-player">
<iframe class="youtube-player" type="text/html" width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" title="{{ if len .Params | eq 2 }}{{ .Get 1 }}{{ else }}{{ end }}" src="https://tube.xd0.de/videos/embed/{{ index .Params 0 }}" frameborder="0" allowfullscreen></iframe>
</div>
{{ end }}

4
static/css/custom.css

@ -16,3 +16,7 @@ img[src*="#nofilter"] {
-o-filter: initial;
filter: initial;
}
h2 {
background: #00aaaa;
}

Loading…
Cancel
Save