mirror of
https://github.com/welpo/tabi.git
synced 2025-12-14 19:58:44 +01:00
Update documentation
This commit is contained in:
parent
0286c3a800
commit
ed4f856651
1 changed files with 11 additions and 0 deletions
|
|
@ -495,6 +495,17 @@ path = "about"
|
||||||
|
|
||||||
Notice how the `path` is set to `about`. Zola will place the page at `$base_url/about/`. If you'd like to have the page available at `/contact/`, you'd set `path = "contact"`.
|
Notice how the `path` is set to `about`. Zola will place the page at `$base_url/about/`. If you'd like to have the page available at `/contact/`, you'd set `path = "contact"`.
|
||||||
|
|
||||||
|
The `info-page.html` template can also be used to create landing pages at the path root (`"/"`). To do that, the `content/_index.md` file should look like this:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
+++
|
||||||
|
title = "Landing Page Title"
|
||||||
|
template = "info-page.html"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Place your landing page Markdown content here.
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## SEO
|
## SEO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue