Making conditonal master section by using "_section" attribute

Squiffy has a native attribute, "_section" which is the name of the current section.
We can make a conditional master section using it as the following.
"_section" attribute also can be used in {if:} statement and { }.

Go to [[B]](_B)

Go to [[C]]

{if _section=C: Welcome to C}

Go to [[D]]

Welcome to {_section}

                squiffy.ui.clearScreen();  //  @clear

This topic is now closed. Topics are closed after 60 days of inactivity.