X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Fheader.pl;h=e6cbdd07914ae09a837ff7b011e8014252f4275f;hp=e1f9c965dd0b906706fe83e6386b29098f182dc7;hb=HEAD;hpb=46c35837ebf71a013ec383f71e3f8f5424823334 diff --git a/include/header.pl b/include/header.pl index e1f9c96..e6cbdd0 100644 --- a/include/header.pl +++ b/include/header.pl @@ -1,2 +1,13 @@ +# this gets `eval`-ed and must return a string to be included in the +# index html page at the top. + +# The following variables are documented: +# $_{-version} SVN release of the running script +# $_{-depth} subdir depth relative to the "top" with .gallery2 +# $_{-title} title of the current subdir (.title contents) +# $_{-path} path from the dir that contains .gallery2 + "

$_{-title}

". -($_{-depth}?"
UP
":"") +($_{-depth}? + "
UP
": + "
HOME
")