You have 2 starts of <<if>> but only 1 closing <</if>>
<<if tags().includes("bbar")>>
<<if>>
<div id="bottombar">
<div id="bbblock">
<div id="bbtext">Put your bottom bar text here.</div>
</div>
</div>
<</if>>
<- missing one closing <</if>>
or
<<if tags().includes("bbar")>>
<<if>> <- this one is too many
<div id="bottombar">
<div id="bbblock">
<div id="bbtext">Put your bottom bar text here.</div>
</div>
</div>
<</if>>
Unless you are trying to have two statements, one where there is nothing printed when the passage tag is “bbar” and something when the passage tag is not “bbar”
<<if tags().includes("bbar")>>
<<else>>
<div id="bottombar">
<div id="bbblock">
<div id="bbtext">Put your bottom bar text here.</div>
</div>
</div>
<</if>>
I managed to get it working, but I have another question. Is there a way to get the text in the header or footer to change depending on the passage instead of having it stay the same throughout? I wanted to use my headers to display the chapter titles.
Depending on the tag of the passage, the Header is either empty (1st condition), shows Credits (2nd condition) - Characters (3rd) - Journal (4th), or display the chapter title in the variable $chapter (which I set in the link going to each new chapter).