Skip to content

Where can I find values available to the stylesheet? #49

Answered by gibatronic
ewen-lbh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there!

To check the underlying XML data, comment out the xslt_stylesheet configuration option from your nginx.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 but xsl:template, which I've pr…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ewen-lbh
Comment options

@gibatronic
Comment options

Answer selected by ewen-lbh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants