-
Notifications
You must be signed in to change notification settings - Fork 22
Using [[wikilinks]]
Thomasorus edited this page May 23, 2021
·
3 revisions
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 theart
folder and use[[01-01-2021]]
, the link created will be/art/01-01-2021.html
. If you decided to set theflat_build
option toTrue
, 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 theart
folder but want to link to a page in theblog
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 theflat_build
option toTrue
, there's no section and you can omit the folder:[[link to blog | 01-01-2021]]
Have fun with links!