From 3f5401c3f13bbc97238d24141768ba248cb6239d Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 5 Oct 2017 11:13:52 +0200 Subject: [PATCH] Fix code example and markdown syntax in Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72601c9..7eee2dd 100644 --- a/README.md +++ b/README.md @@ -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.