From 50caf1c90c2ea055dc720440bce6cd158cec3b38 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 25 Mar 2019 23:15:51 +0100 Subject: [PATCH] Fix typo in docs Closes #636 --- CHANGELOG.md | 2 +- docs/content/documentation/templates/overview.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1908ed2..d95f222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.6.0 (unreleased) +## 0.6.0 (2019-03-25) ### Breaking - `earlier/later` and `lighter/heavier` are not set anymore on pages when rendering diff --git a/docs/content/documentation/templates/overview.md b/docs/content/documentation/templates/overview.md index be7992d..5659f20 100644 --- a/docs/content/documentation/templates/overview.md +++ b/docs/content/documentation/templates/overview.md @@ -142,11 +142,11 @@ the value should be the same as the one in the front-matter, not the slugified v Gets the whole taxonomy of a specific kind. ```jinja2 -{% set categories = get_taxonomy_url(kind="categories") %} +{% set categories = get_taxonomy(kind="categories") %} ``` ### `load_data` -Loads data from a file or URL. Supported file types include *toml*, *json* and *csv*. +Loads data from a file or URL. Supported file types include *toml*, *json* and *csv*. Any other file type will be loaded as plain text. The `path` argument specifies the path to the data file relative to your base directory, where your `config.toml` is. @@ -214,8 +214,8 @@ By default, the response body will be returned with no parsing. This can be chan #### Data Caching -Data file loading and remote requests are cached in memory during build, so multiple requests aren't made to the same endpoint. -URLs are cached based on the URL, and data files are cached based on the files modified time. +Data file loading and remote requests are cached in memory during build, so multiple requests aren't made to the same endpoint. +URLs are cached based on the URL, and data files are cached based on the files modified time. The format is also taken into account when caching, so a request will be sent twice if it's loaded with 2 different formats. ### `trans`