Add links to tera documentation for filters and functions

Fixes https://github.com/Keats/gutenberg/issues/510. Well, should help with it.
This commit is contained in:
Jake Howard 2018-11-02 14:45:51 +00:00 committed by GitHub
parent 90e0ee8eb6
commit fef522bb29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ Custom templates are not required to live at the root of your `templates` direct
For example, `product_pages/with_pictures.html` is a valid template. For example, `product_pages/with_pictures.html` is a valid template.
## Built-in filters ## Built-in filters
Gutenberg adds a few filters, in addition of the ones already present in Tera. Gutenberg adds a few filters, in addition of the [ones already present](https://tera.netlify.com/docs/templates/#built-in-filters) in Tera.
### markdown ### markdown
Converts the given variable to HTML using Markdown. This doesn't apply any of the Converts the given variable to HTML using Markdown. This doesn't apply any of the
@ -76,7 +76,7 @@ Decode the variable from base64.
## Built-in global functions ## Built-in global functions
Gutenberg adds a few global functions to Tera in order to make it easier to develop complex sites. Gutenberg adds a few global functions to [those in Tera](https://tera.netlify.com/docs/templates/#built-in-functions) in order to make it easier to develop complex sites.
### `get_page` ### `get_page`
Takes a path to a `.md` file and returns the associated page Takes a path to a `.md` file and returns the associated page