Where can I find values available to the stylesheet? #49
-
The title says it all. I want to customize superbindex a bit, but I can't find any resource on what values (e.g. I know that the mtime attribute is available to sort on) can be used. For example, here's what I want to do:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi there! To check the underlying XML data, comment out the About changes in About dotfiles, ngx_http_autoindex_module has no configuration option to show them. The path in the title is a tricky one, again the ngx_http_autoindex_module doesn't provide the current path. A thumbnail can be done by requesting the file itself on a For the rest, it's pretty much the same effort of working in the XSLT part or throught javascript. |
Beta Was this translation helpful? Give feedback.
Hi there!
To check the underlying XML data, comment out the
xslt_stylesheet
configuration option from yournginx.conf
.About changes in
HTML
, the file client/templates/main.xslt is where you do them.Please, check CONTRIBUTING.md to see how to set up the project and generate
public/superbindex.xslt
About dotfiles, ngx_http_autoindex_module has no configuration option to show them.
The path in the title is a tricky one, again the ngx_http_autoindex_module doesn't provide the current path.
It might be possible to deliver the requested url through
xslt_string_param
. But so far I never tried. And if you can, you'd have to strip the origin part out using nothing butxsl:template
, which I've pr…