Creating pages


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
+++

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.

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.