Re: setting imagesdir for asciidoc articles baked with awestruct
Posted by
xcoulon on
Nov 25, 2013; 2:04pm
URL: https://discuss.asciidoctor.org/setting-imagesdir-for-asciidoc-articles-baked-with-awestruct-tp528p1085.html
hi Dan !
Thanks for your reply !
I now understand that something like
[source]
----
:awestruct-imagesdir:/features
----
is an helper to provide custom value back to that page object if I need to interact with the document layout.
The confusing part is that as I'm following your suggestion, the generated path to images is still the same
[source]
----
<img src="/images/images/mypicture.png">
----
I even removed the default settings in the _config/site.yml to make sure nothing interferes.
I just pushed my changes on
http://github.com/xcoulon/jbosstools-website with commit aa8bacd if you want to get a look at it.
There must be something wrong in my code, but I can't see where :-/
Thanks
Best regards,
Xavier