summaryrefslogtreecommitdiff
path: root/template.html
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-10-04 16:28:38 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-10-04 16:28:38 +0200
commita94847108155dbdec4813dafb0c2abe0bfbb90b1 (patch)
tree6097d1600fe2bfbfc3a5ba2884b49498d8af0aec /template.html
parent1a2ab41ae7140039c2fb2e5054038219c3e51da0 (diff)
downloadstartpage-a94847108155dbdec4813dafb0c2abe0bfbb90b1.tar.gz
startpage-a94847108155dbdec4813dafb0c2abe0bfbb90b1.tar.bz2
startpage-a94847108155dbdec4813dafb0c2abe0bfbb90b1.zip
Be nice and give credit to yr.no
Diffstat (limited to 'template.html')
-rw-r--r--template.html29
1 files changed, 22 insertions, 7 deletions
diff --git a/template.html b/template.html
index 2e502d3..e0f3a30 100644
--- a/template.html
+++ b/template.html
@@ -21,11 +21,20 @@
font-family: "DejaVu Sans Light", sans-serif;
color: white;
}
+ footer {
+ font-size: 8pt;
+ }
+ #yr_no_credit {
+ position: fixed;
+ display: inline-block;
+ bottom: 2mm;
+ left: 10mm;
+ background: black;
+ }
#earthporninfo {
position: fixed;
bottom: 2mm;
right: 10mm;
- font-size: 8pt;
background: black;
}
#weather {
@@ -76,10 +85,16 @@
</ul>
</div>
{{ end }}
- <span id="earthporninfo">
- <a href="http://reddit.com{{ .Porn.Permalink }}">{{ .Porn.Title }}</a>
- |
- {{ if .Porn.Saved }}saved{{ else }}<a href="/savebg">save</a>{{ end }}
- </span>
+
+
+ <footer>
+ <div id="yr_no_credit">Weather forecast from Yr, delivered by the Norwegian Meteorological Institute and NRK</div>
+
+ <span id="earthporninfo">
+ <a href="http://reddit.com{{ .Porn.Permalink }}">{{ .Porn.Title }}</a>
+ |
+ {{ if .Porn.Saved }}saved{{ else }}<a href="/savebg">save</a>{{ end }}
+ </span>
+ </footer>
</body>
-</html> \ No newline at end of file
+</html>