]> www.average.org Git - mkgallery.git/blob - include/header.pl
remove rss reference, update todo
[mkgallery.git] / include / header.pl
1 # this gets `eval`-ed and must return a string to be included in the
2 # index html page at the top.
3
4 # The following variables are documented:
5 # $_{-version}          SVN release of the running script
6 # $_{-depth}            subdir depth relative to the "top" with .gallery2
7 # $_{-title}            title of the current subdir (.title contents)
8 # $_{-path}             path from the dir that contains .gallery2
9
10 "<h1 class=\"title\">$_{-title}</h1>".
11 ($_{-depth}?
12         "<div class=\"linkup\"><a href=\"../index.html\">UP</a></div>":
13         "<div class=\"linkup\"><a href=\"/\">HOME</a></div>")