diff options
| author | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-05-07 13:45:18 +0200 |
|---|---|---|
| committer | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-05-07 13:45:18 +0200 |
| commit | 31e2b7c8a9d4776f5443dfe0dcc0cd037a52d29a (patch) | |
| tree | c84d916892728a1addd55c2f351e1423894c8f1a /share/templates | |
| parent | 14731e9c43403f0961b086920bd331235487ce50 (diff) | |
create index.html files correctly
Diffstat (limited to 'share/templates')
| -rw-r--r-- | share/templates/default/index.tmpl | 12 | ||||
| -rw-r--r-- | share/templates/default/redirect.tmpl | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/share/templates/default/index.tmpl b/share/templates/default/index.tmpl deleted file mode 100644 index ecfb9f6..0000000 --- a/share/templates/default/index.tmpl +++ /dev/null @@ -1,12 +0,0 @@ -cat <<END -<html> -<head> -<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> -<body> -Redirecting to Page 1 -</body> -</html> -END diff --git a/share/templates/default/redirect.tmpl b/share/templates/default/redirect.tmpl index 8edfe1c..8353e7b 100644 --- a/share/templates/default/redirect.tmpl +++ b/share/templates/default/redirect.tmpl @@ -1,7 +1,7 @@ cat <<END <html> <head> -<meta http-equiv='refresh' content='0; url=${redirectpage}.html'> +<meta http-equiv='refresh' content='0; url=${REDIRECT_PAGE}.html'> </head> <body> </body> |
