diff options
| author | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
| commit | 66c34c39d75d73159fe82c1d07961e0505fc8d6c (patch) | |
| tree | c34f4c8d5586525aeae4b6950ebf040f0de3b21b /share/templates/default/header.tmpl | |
| parent | 52b3acc71006dec6ab33eb1fea7897d05aef334a (diff) | |
refactor templates
Diffstat (limited to 'share/templates/default/header.tmpl')
| -rw-r--r-- | share/templates/default/header.tmpl | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl index b25143b..564d547 100644 --- a/share/templates/default/header.tmpl +++ b/share/templates/default/header.tmpl @@ -1,28 +1,26 @@ if [ "${is_subalbum}" = yes ]; then - GOTO_OVERVIEW="<br /><br /><a href='${backhref}/index.html'>Go to Album overview</a>" + GOTO_OVERVIEW="<a href='${backhref}/index.html'>Go to Album overview</a>" fi + cat <<END <html> <head> -<title>${TITLE}</title> -<style type="text/css"> - body { - background-color: #000000; - color: #FFFFFF; - font-family: verdana, sans-serif; - width: 100%; - } - a { - color: #FFFFFF; - } - hr { - color: #FFFFFF; - background-color: #FFFFFF; - height: 1px; - } -</style> + <title>${TITLE}</title> + <style type="text/css"> + body { + background-color: #000000; + color: #FFFFFF; + font-family: verdana, sans-serif; + width: 100%; + } + a { + color: #FFFFFF; + } + </style> </head> + <body> -${TITLE} ${GOTO_OVERVIEW} -<hr /> + <h1>${TITLE}</h1> + <p>${GOTO_OVERVIEW}</p> + <div> END |
