I'm trying to customise the left sidebar in Harlow 2.1.0, and for the life of me I can't work out why my custom content isn't displaying.
In the story stylesheet I have the following:
tw-sidebar
{
position: fixed;
top: 0;
left: 0;
width: 20%;
max-height: 100%;
margin-top: 5%;
padding: 0 0.5em 0.5em 0.5em;
text-align: left;
background-color: transparent;
}
And I have a passage with the 'footer' tag in which I am trying to append the content using the following code:
(append: ?Sidebar)[
(link:"Save")[
(if:(save-game:"Slot A"))[Position saved!]
(else: )[Sorry, save failed!]
]
(if: (saved-games:) contains "Slot A")[(link: "Load")[(load-game:"Slot A")]
]
(link: "Restart")[(reload:)]]
I've trawled through the manual, and the cookbook, and thought I'd understood how to do this, but all I get is the usual back and forward arrows, with no custom content appended. Any ideas about what I'm doing wrong here would be gratefully received.