You can tell if the player has seen a passage or section using JavaScript:
if (squiffy.story.seen("passage3")) alert ("You have seen passage3!");
You can also conditionally display text: