Welcome to WAW Template
To create new page you can type in terminal:
waw page NAME
You can change port in
config.json
of development webiste
localhost:8000
JSON in template.json is accesible over all pages
JSON in page.json of each page is accesible only of that specific
page
To build project you can type in terminal:
waw build
which will take JSON info and put it into html of dist folder.
General idea of variables, is that you can modify those on back-end or over
config.json
More details of how to use template you can find in
Wjst Documentation
Styles: You should import each file to
index.scss located in
css folder and write SCSS
files in css/scss.
Prefix:
Prefix which we have in template.json serve as root id for the
template
For example file
img/avatar.png
can be served in html
src="img/avatar.png"
were our path is
{prefix}{path}
Prefix should be unique on project where we have more then one
template to serve files properly
To change prefix, you need simply to replace all in editor phrase
`/wjst-default` into new prefix `/newPrefixName`
To get served template by github pages, you simply have to replace
prefix to name of the repo and do
waw build
and then commit to branch which you set in settings > pages
{repo}/settings/pages
and after that you should able to see your wesite online, similar
this default repo is shown
webartwork.github.io/wjst-default