diff --git a/content/services.md b/content/services.md index 050dd28..be826c4 100644 --- a/content/services.md +++ b/content/services.md @@ -10,17 +10,17 @@ draft = false +++ - Software | Address | Status | Comments - -----------------------------------------------|----------------------------|:-------:|:-------- - [Diaspora](https://diasporafoundation.org/) | Diaspora.AltinSystems.DE | {{}} | switch domain - [NextCloud](https://nextcloud.com) | [Cloud.Obermui.de](https://cloud.obermui.de/login) | {{}} | - [PeerTube](https://joinpeertube.org) | [Video.Obermui.de](https://Video.Obermui.de) | {{}} | - [TeamSpeak](https://www.teamspeak.com/)| [Obermui.de](ts3server://80.241.216.82?port=9987) | {{}} | - [MineCraft](https://minecraft.net/) | [Obermui.DE](minecraft://Obermui.DE:25565) | {{}} | migrate server - [CJDNS](https://github.com/cjdelisle/cjdns/) | [Obermui.de:51935]({{}}post/connect-2-cjdns/) | {{}} | - [OpenTracker](https://erdgeist.org/arts/software/opentracker/)| [CJDNS Address](fc15:368e:2797:79d1:71d4:f698:c081:d4a2) | {{}} | migrate server - [Gitea](https://gitea.io) | [Code.Obermui.DE](https://Code.Obermui.DE/explore/repos) | {{}} | - [IPFS](https://ipfs.io/) | Internal | {{}} | + Software | Address | Status | Comments + ---------------------------------------------|------------------------------------------------------|:------------------------:|:-------------- + [Diaspora](https://diasporafoundation.org/) | Diaspora.AltinSystems.DE | {{}} | switch domain + [NextCloud](https://nextcloud.com) | [Cloud.Obermui.de](https://cloud.obermui.de/login) | {{}} | + [PeerTube](https://joinpeertube.org) | [Video.Obermui.de](https://Video.Obermui.de) | {{}} | + [TeamSpeak](https://www.teamspeak.com/) | [Obermui.de](ts3server://80.241.216.82?port=9987) | {{}} | + [MineCraft](https://minecraft.net/) | [Obermui.DE](minecraft://Obermui.DE:25565) | {{}} | migrate server + [CJDNS](https://github.com/cjdelisle/cjdns/) | [Obermui.de:51935]({{}}post/connect-2-cjdns/) | {{}} + [OpenTracker](https://erdgeist.org/arts/software/opentracker/)| [CJDNS Address](fc15:368e:2797:79d1:71d4:f698:c081:d4a2) | {{}} | migrate server + [Gitea](https://gitea.io) | [Code.Obermui.DE](https://Code.Obermui.DE/explore) | {{}} | + [IPFS](https://ipfs.io/) | Internal | {{}} | diff --git a/layouts/shortcodes/on-off.html b/layouts/shortcodes/on-off.html index e2d2308..a42a820 100644 --- a/layouts/shortcodes/on-off.html +++ b/layouts/shortcodes/on-off.html @@ -1,8 +1,35 @@ -{{ $mode := .Get 0 }} +{{ $mode := .Get 0 }}{{ $opt1 := .Get 1 }}{{ $opt2 := .Get 2 }} + +{{ $img_on := ( printf "%s%s" $.Page.Site.BaseURL "img/on-off/switch-on-icon_smal.png" )}} +{{ $img_off := ( printf "%s%s" $.Page.Site.BaseURL "img/on-off/switch-off-icon_smal.png" )}} + {{ if eq $mode "on" }} - On + On {{ else if eq $mode "off"}} - Off + Off +{{ else if eq $mode "imgping" }} + {{ with $opt1 }} + {{ $id := md5 $opt1 }} + {{ if eq $opt2 "on" }} + On + {{ else }} + Off + {{ end }} + + {{ else }} + imgping [URL to image] [default on/off] + {{ end }} {{ else }} ??? -{{end}} +{{ end }} diff --git a/layouts/shortcodes/reload.html b/layouts/shortcodes/reload.html new file mode 100644 index 0000000..483de3b --- /dev/null +++ b/layouts/shortcodes/reload.html @@ -0,0 +1,13 @@ +{{ $seconds := .Get 0 }} +{{ $ms := ( printf "%s%s" $seconds "000" )}} +