Hello and happy new year !
This question is a follow up for
http://discuss.asciidoctor.org/setting-imagesdir-for-asciidoc-articles-baked-with-awestruct-td528.htmlHere's our use-case for our upcoming website baked with awestruct:
- we have blog posts written in asciidoc in /blog
- these blog posts are also tagged and thus can be browsed by tags , in pages such as /blog/tag/jbds/ for example (those page display the content of the blog posts, not just their titles)
- we deploy the staging website on gh-pages, which means that there's a deployment context which is not ROOT, but the name of the github repo (for instance,
http://jbosstools.github.io/jbosstools-website).
This leads me to the following question (or request): how can we ask asciidoctor to generate absolute URLs for images, so that they work in all cases ? In our case, relative locations work for each blog post, but not when browsed by tags.
Thanks in advance
Best regards,
Xavier