Assign specific VM template to HTML export
Hello K15t people,
We are using Scroll HTML export to create static HTML from our Confluence doc.
We also use Scroll Viewport and Viewport themes to manage the online version of the doc on Confluence.
We are aware of this question https://k15t.zendesk.com/hc/en-us/community/posts/115011793306-Using-scroll-viewport-template-as-HTML-export-template
At the moment we cannot assign specific VM templates to export to static HTML pages that need to have a different layout -- for example, home page vs a wiki article page.
Is there a way to assign the correct VM template in Scroll HTML Exporter?
We checked this part of the Scroll HTML Exporter but it did not help solve out issue:
https://help.k15t.com/scroll-html-exporter/creating-an-export-using-the-rest-api-75367721.html
Thanks for your help + kindest regards,
marco
-
Hi Marco,
Thanks for your post.
Were you wanting to have your Scroll Viewport theme matched to your Scroll HTML Exporter template? If so, this would have to be done separately as Scroll HTML Exporter templates do not work with Scroll Viewport, and Scroll Viewport themes do not work with the Scroll HTML Exporter. If you want both your viewports and your exported HTML files to have a certain look, you will have to create both a Scroll HTML Exporter template and a Scroll Viewport theme.
The project for the Scroll WebHelp Theme (https://bitbucket.org/K15t/scroll-webhelp-theme) happens to contain both a Scroll HTML Exporter template and a Scroll Viewport theme, which are both called "Scroll WebHelp Theme", because they have been designed to look the same. If you only want to build a Scroll HTML Exporter template, you can remove the code for the Scroll Viewport theme, and if you only want a Scroll Viewport theme, you can remove the code for the Scroll HTML Exporter template.
Cheers, Thomas (K15t Software)
Please sign in to leave a comment.
Comments
2 comments