3 Using [[wikilinks]]
Thomasorus edited this page 2021-05-24 01:06:05 +02:00

If you want to link between pages of your website, you can use the wiki link syntax instead of classic markdown links.

Wiki links use double square brackets with content inside: [[ ]]. In Chisai, you can use them in two ways:

  • Use [[link to page]] to link to a page in the current section you are writing. For example, if you are in the art folder and use [[01-01-2021]], the link created will be /art/01-01-2021.html. If you decided to set the flat_build option to True, there's no section and this syntax will just create a normal link, ec: 01-01-2021.html.
  • Use [[ Text of link | Link to page ]] to link to any page. For example, if you are in the art folder but want to link to a page in the blog folder, use [[link to blog | blog/01-01-2021]], the link created will be /blog/01-01-2021.html. Once again, if you decided to set the flat_build option to True, there's no section and you can omit the folder: [[link to blog | 01-01-2021]]

Have fun with links!