diff options
| -rwxr-xr-x | photoalbum.sh | 1 | ||||
| -rw-r--r-- | templates/index.tmpl (renamed from index.html) | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/photoalbum.sh b/photoalbum.sh index 2766c9f..1658a48 100755 --- a/photoalbum.sh +++ b/photoalbum.sh @@ -112,4 +112,5 @@ function generate () { createdirs scale find ./html -type f -name \*.html -delete +cd html && template index index && cd .. generate 1 diff --git a/index.html b/templates/index.tmpl index 6a5d1a5..2ec99d7 100644 --- a/index.html +++ b/templates/index.tmpl @@ -1,6 +1,7 @@ +cat <<END <html> <head> -<title>Photoalbum!</title> +<title>$TITLE</title> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"> <meta http-equiv="refresh" content="0; URL=./html/page-1.html"> </head> @@ -8,3 +9,4 @@ Redirecting to Page 1 </body> </html> +END |
