Skip to content

Commit

Permalink
docs: update links to new Tera docs URL (#2289)
Browse files Browse the repository at this point in the history
More context here: Keats/tera#854 (comment)
  • Loading branch information
oscard0m authored Aug 31, 2023
1 parent e6fe81c commit e5e1a2f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/content/documentation/content/shortcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The latter may also be solved by writing HTML, however Zola allows the use of Ma
rather than `.html`. This may be particularly useful if you want to include headings generated by the shortcode in the
[table of contents](@/documentation/content/table-of-contents.md).

If you want to use something similar to shortcodes in your templates, you can use [Tera macros](https://tera.netlify.com/docs#macros). They are functions or components that you can call to return some text.
If you want to use something similar to shortcodes in your templates, you can use [Tera macros](https://keats.github.io/tera/docs#macros). They are functions or components that you can call to return some text.

## Writing a shortcode
Let's write a shortcode to embed YouTube videos as an example.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If your static files are large, you can configure Zola to [hard link](https://en
instead of copying them by setting `hard_link_static = true` in the config file.

## `templates`
Contains all the [Tera](https://tera.netlify.com) templates that will be used to render your site.
Contains all the [Tera](https://keats.github.io/tera) templates that will be used to render your site.
Have a look at the [templates documentation](@/documentation/templates/_index.md) to learn more about default templates
and available variables.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/documentation/getting-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight = 5

## Zola at a Glance

Zola is a static site generator (SSG), similar to [Hugo](https://gohugo.io/), [Pelican](https://blog.getpelican.com/), and [Jekyll](https://jekyllrb.com/) (for a comprehensive list of SSGs, please see [Jamstack](https://jamstack.org/generators)). It is written in [Rust](https://www.rust-lang.org/) and uses the [Tera](https://tera.netlify.com/) template engine, which is similar to [Jinja2](https://jinja.palletsprojects.com/en/2.10.x/), [Django templates](https://docs.djangoproject.com/en/2.2/topics/templates/), [Liquid](https://shopify.github.io/liquid/), and [Twig](https://twig.symfony.com/).
Zola is a static site generator (SSG), similar to [Hugo](https://gohugo.io/), [Pelican](https://blog.getpelican.com/), and [Jekyll](https://jekyllrb.com/) (for a comprehensive list of SSGs, please see [Jamstack](https://jamstack.org/generators)). It is written in [Rust](https://www.rust-lang.org/) and uses the [Tera](https://keats.github.io/tera/) template engine, which is similar to [Jinja2](https://jinja.palletsprojects.com/en/2.10.x/), [Django templates](https://docs.djangoproject.com/en/2.2/topics/templates/), [Liquid](https://shopify.github.io/liquid/), and [Twig](https://twig.symfony.com/).

Content is written in [CommonMark](https://commonmark.org/), a strongly defined, highly compatible specification of [Markdown](https://www.markdownguide.org/). Zola uses [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark#pulldown-cmark) to parse markdown files. The goal of this library is 100% compliance with the CommonMark spec. It adds a few additional features such as parsing footnotes, Github flavored tables, Github flavored task lists and strikethrough.

Expand Down
6 changes: 3 additions & 3 deletions docs/content/documentation/templates/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Overview"
weight = 10
+++

Zola uses the [Tera](https://tera.netlify.com) template engine, which is very similar
Zola uses the [Tera](https://keats.github.io/tera) template engine, which is very similar
to Jinja2, Liquid and Twig.

As this documentation will only talk about how templates work in Zola, please read
Expand Down Expand Up @@ -62,7 +62,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.

## Built-in filters
Zola adds a few filters in addition to [those](https://tera.netlify.com/docs/#filters) already present
Zola adds a few filters in addition to [those](https://keats.github.io/tera/docs/#filters) already present
in Tera.

### markdown
Expand Down Expand Up @@ -105,7 +105,7 @@ To format a number for a specific locale, you can use the `locale` argument and

## Built-in functions

Zola adds a few Tera functions to [those built-in in Tera](https://tera.netlify.com/docs#built-in-functions)
Zola adds a few Tera functions to [those built-in in Tera](https://keats.github.io/tera/docs#built-in-functions)
to make it easier to develop complex sites.

### File searching logic
Expand Down
2 changes: 1 addition & 1 deletion docs/content/documentation/themes/creating-a-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ weight = 30
+++

Creating a theme is exactly like creating a normal site with Zola, except you
will want to use many [Tera blocks](https://tera.netlify.com/docs#inheritance) to
will want to use many [Tera blocks](https://keats.github.io/tera/docs#inheritance) to
allow users to easily modify it.

## Getting started
Expand Down

0 comments on commit e5e1a2f

Please sign in to comment.