tFix page title - adamsgaard.dk - my academic webpage
(HTM) git clone git://src.adamsgaard.dk/adamsgaard.dk
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3ab68136b612474d907da3dac94b070f3925751e
(DIR) parent a43b3740d56b4066132555182f6987d5d82968a6
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 5 Dec 2019 14:22:09 +0100
Fix page title
Diffstat:
M output/weather.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/output/weather.html b/output/weather.html
t@@ -64,7 +64,7 @@
<body>
<article>
<header>
-<h1 id="demo"></h1>
+<h1 id="pageheader"></h1>
<aside>
<center>
<p>
t@@ -89,7 +89,8 @@
</article>
<script>
- document.getElementById("demo").innerHTML = "Weather forecast for " + zip;
+ document.getElementById("pagetitle").innerHTML = "Weather forecast for " + zip;
+ document.getElementById("pageheader").innerHTML = "Weather forecast for " + zip;
document.getElementById("dmi-0-2").setAttribute("src",
"https://servlet.dmi.dk/byvejr/servlet/byvejr_dag1?by="+zip+"&mode=long&eps=true");