X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/c47f39de1c2de25aa70a5f3040c531e6589420cf..HEAD:/html.h diff --git a/html.h b/html.h index d420036..47b7ffd 100644 --- a/html.h +++ b/html.h @@ -29,7 +29,9 @@ struct html_config { * two hex digits (including, in particular, = itself). The * only characters not escaped are the ASCII alphabets and * numbers, the subdirectory separator as mentioned above, - * and the four punctuation characters -.@_ . + * and the four punctuation characters -.@_ (with the + * exception that at the very start of a pathname, even '.' + * is escaped). * - '%/p' outputs the pathname of the tree entry, but this time * the subdirectory separator is also considered to be a * worrying character and is escaped. @@ -81,6 +83,11 @@ struct html_config { * directories in the report. */ int showfiles; + /* + * The string appearing in the part of HTML pages, before + * a colon followed by the path being served. Default is "agedu". + */ + const char *html_title; }; /*