Using document attributes in section.html.slim
Posted by phgiraud on
URL: https://discuss.asciidoctor.org/Using-document-attributes-in-section-html-slim-tp7481.html
Hi,
I'm trying to use document attributes in section.html.slim, e.g.:
#{attr :revnumber}
It doesn't work, always leading to an empty value.
My goal is to add a discret href link in all section titles, that's OK, but I need to access document attributes.
It correctly works in _header.html.slim, _footer.html.slim ...
Any idea ?
thanks in advance