So, the title is self explenatory. I made a sidebar in html and would like that this sidebar appears in every passage.
My question. Is there something like a general html page like there is one for js and css? Or is there an other way?
I just really dont want to paste that code into every passage I created.

Thanks.
Comments
You can do smth like this in prerender function:
My Twine lets me choose between harlowe, snowman and sugarcube. Didn't know that there was something called sugarcane so thanks for telling; I will look up on that.
Edit: Alright the code I found does not really work. The variables don't apply so maybe I should do some more googling.
I have the following in my StoryInit and it works just fine:
SugarCube 1 supports a Special Passage named StoryCaption which can be used to display content within SugarCube's own side-bar. To use it simple name one of your story's passages StoryCaption and place your code inside it, that code will now appear on every page.
Getting stuff into the pre programmed sidebar to the left wasn't a problem. (Altough I called it StoryMenu. ) Creating a new sidebar on the right however...
The following is one method of adding a very simple visible area to a story, it will appear at the bottom of the screen but you could use CSS to reposition it to the right side of the screen instead.
1. Add the new visible area to the story:
Place the following within your Story Javascript area, it will create a new visible area with an ID of right-side-bar. 2. [optional] Variable used to test the new visible area:
Place the following within your story's StoryInit passage, it will initializes two variables which used to demonstrate that values shown in the new area can be changed. 3. Create a passage who's content will be displayed in the new area, I am naming it Right Sidebar and it will display the current values of the two variables defined in StoryInit 4. Use a PassageDone special passage to display the above contents in the new visible area:
If you change the value of one of the variables within a passage then you should see the contents of the new area also change.
Greyelf, you are bloody awesome.