All Pages > wiki-ng docs > Creating pages
Creating new wiki pages
It is recommended to test locally using zola serve
and zola check
.
For things not listed in here, check the zola docs.
Pages
All pages are stored in the content/wiki
directory. If you want to create a new page, add a file there in an appropriate location. The first thing you will need is a front matter.
+++
title = ""
[extra]
show.sidebar = false
+++
title
: the title of the pageshow.sidebar
: show the page in the sidebar (if you want to enable this, maybe ask in the IRC first)
If show.sidebar
is disabled, all pages will still be shown in the all pages tab.
Sections
All sections are also stored in content/wiki
. Sections are all folders, like for example content/wiki/howto
. All sections need an index file called _index.md
, which also requires a front matter.
+++
title = ""
[extra]
show.sidebar = false
+++
The fields for a page are the same as for a page.
Links
Zola doas now detect links only written as https://...
automatically. Links need to be written in Markdown syntax: [https://...](https://...)
.
To convert links, there is a script to in scripts/rewrite-links.py
to do this.