Hi,
I have made a template in CSS and HTML to make my project more beautiful (Inventory, avatar, style, ...)
But I don't want to copy/paste this code at each passage for the reason that if i make a change in my template, I want this change affect all passages
How can i do this ?
Thanks for your help
Comments
eg. does Twine 2.1 mean the previous v2.1.0 application or the current v2.1.1 application?
Generally you should be placing your CSS within your story's Story Stylesheet area, and then using CSS selectors (either ID, class, or tag based) to apply it to the elements of your layout/template as required.
Without examples of either your 'template' or your CSS it is difficult to give a more specific answer.
I use Twine 2.1.1
Depending on if you want your template HTML code to come before the contents of the current passage or after that contents you would use either a header tag passage or a footer tag passage.