mirror of
https://github.com/getzola/zola
synced 2024-12-13 13:52:28 +00:00
Merge pull request #126 from phil-opp/patch-1
Fix code example and markdown syntax in Readme
This commit is contained in:
commit
d58878140a
1 changed files with 2 additions and 2 deletions
|
@ -77,10 +77,10 @@ Takes a path to a `.md` file and returns the associated page
|
|||
Takes a path to a `_index.md` file and returns the associated section
|
||||
|
||||
```jinja2
|
||||
{% set section = get_page(path="blog/_index.md") %}
|
||||
{% set section = get_section(path="blog/_index.md") %}
|
||||
```
|
||||
|
||||
####` get_url`
|
||||
#### `get_url`
|
||||
Gets the permalink for the given path.
|
||||
If the path starts with `./`, it will be understood as an internal
|
||||
link like the ones used in markdown.
|
||||
|
|
Loading…
Reference in a new issue