-
Notifications
You must be signed in to change notification settings - Fork 5
Home
SwankInnovations edited this page Sep 13, 2010
·
15 revisions
Welcome to the wiki for the Conditional Tags extension (a Radiant CMS extension).
- Overview (below)
- Syntax – Using Conditional Tags in Radiant Pages
- Development – Writing Extensions that make use of Conditional Tags
The Conditional Tags extension adds two new tags to Radiant that you can use in pages:
and,
Both of these tags evaluate conditional statements that you supply and, depending on their outcome, expand their contents or not. For example, the following code:
This is my homepage. This is NOT my homepage.
Will show “This is my homepage.” if the title of the current page is “my homepage” — otherwise it outputs “This is NOT my homepage.”