summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-02-20 21:21:10 +0000
committerPaul Buetow <paul@buetow.org>2022-02-20 21:21:10 +0000
commit54b7321df66d9d0d9648ac999a63fcccec6ef36f (patch)
treeefcf15802469e069fc53919cffb75d0af15ecb88 /share
parent295f895a257ee9a2d571a79af549ccbe5443f438 (diff)
add header div
Diffstat (limited to 'share')
-rw-r--r--share/templates/default/footer.tmpl2
-rw-r--r--share/templates/default/header.tmpl11
2 files changed, 9 insertions, 4 deletions
diff --git a/share/templates/default/footer.tmpl b/share/templates/default/footer.tmpl
index e1139c5..03f0eaf 100644
--- a/share/templates/default/footer.tmpl
+++ b/share/templates/default/footer.tmpl
@@ -9,8 +9,6 @@ END
fi
cat <<END
- Page generated at $(date) using Bash+ImageMagick -
- <a href="https://codeberg.org/foozone/photoalbum">codeberg.org/foozone/photoalbum</a>
</div>
</body>
diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl
index 26ea163..0248656 100644
--- a/share/templates/default/header.tmpl
+++ b/share/templates/default/header.tmpl
@@ -20,7 +20,7 @@ cat <<END
color: #000000;
}
- div.text, div.footer, div.navigator {
+ div.text, div.header, div.footer, div.navigator {
background-color: #ffffff;
border: 15px solid #000000;
padding: 10px;
@@ -64,5 +64,12 @@ cat <<END
</head>
<body>
- <p>${GOTO_OVERVIEW}</p>
+<div class="header">
+ <div>
+ Site generated at $(date) with <a href="https://codeberg.org/foozone/photoalbum">codeberg.org/foozone/photoalbum</a>
+ -
+ &copy; by Paul Buetow
+ </div>
+ <div>${GOTO_OVERVIEW}</div>
+</div>
END