From 5b456afb49bfa6ff1567510bc1d9362377d32216 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 4 Oct 2020 22:58:03 +0200 Subject: New config format and new features We're now using json as a config format instead of our weird own format. The weather icon is now optional, simply don't define WeatherPlace in your config. You can now specify which subreddit to get background images from. The default is still /r/EarthPorn. --- template.html | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'template.html') diff --git a/template.html b/template.html index e0f3a30..ffb833c 100644 --- a/template.html +++ b/template.html @@ -4,11 +4,16 @@ Startpage -
- - {{ .Weather.Temp.Value }}° -
+ {{ if .Weather }} +
+ + {{ .Weather.Temp.Value }}° +
+ {{ end }} {{ if .Links }}