Each <<if>> has to be followed by a closing <</if>>.
<<if $related is true>><<= "Cousin and ">><</if>>
Or if editing the html directly:
<<if $related is true>><<= "Cousin and ">><</if>>
I used
You must be registered to see the links
which is a compiler written by the creator of SugarCube. I opened command prompt and navigated to the College Daze folder. Then I used the command
"<insert location of tweego.exe here>" -d -o cd.tw "College Daze.html"
in order to generate a twee file containing the code for the game.
Then I had to edit the game twee file to add a StoryData passage along with an IFID (interactive fiction id) because Tweego requires an IFID in order to compile. If you try to compile without one, Tweego will stop compiling and generate an IFID for you, suggesting that you use it. So since College Daze did not have one, I added this to the twee file:
Code:
:: StoryData
{
"ifid": "1F019E00-3366-47A2-8FF4-4F93598B3603"
}
In command prompt I then used the command
"<insert location of tweego.exe here>" -o cd.html cd.tw
in order to generate an html file that follows the default Twine 2 format.
If you are modding the game and therefore making changes to the twee file(s) often, then it's probably a good idea to put all your twee files inside a folder and create a bat file to run the command instead of opening command prompt all the time. A bat file with the line
"<insert location of tweego.exe here>" -o cd.html src
will compile all the twee, js, and css files inside the src folder into cd.html.