Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

If, else, elseif

This is an example for showing how to create logic brocks.

<if cond={ hot }>
  <then><p>Hot beverage</p></then>
  <else><p>Cold beverage</p></else>
</if>

Have a play

Open this example on Plunker

Run locally

Install superstatic if you don't have.

$ npm install -g superstatic

Download or clone this repo, then run the command.

$ cd to/this/dir
$ superstatic

Open the URL shown in your browser.