From a3a928efafc160fc8b6ade2aa0ad619911902759 Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Sun, 27 Feb 2022 09:14:05 -0800 Subject: [PATCH] Fix some broken internal links --- content/docs/api/db/expression/contents.lr | 2 +- content/docs/api/environment/render-template/contents.lr | 2 +- content/docs/api/templates/globals/get-random-id/contents.lr | 2 +- content/plugin-categories/templates/contents.lr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/api/db/expression/contents.lr b/content/docs/api/db/expression/contents.lr index afc787ec..182438d3 100644 --- a/content/docs/api/db/expression/contents.lr +++ b/content/docs/api/db/expression/contents.lr @@ -17,7 +17,7 @@ of it can create more expressive expressions. `F.name` literally just means that a field by that name exists and is set to a value. The query syntax is mostly the same in Python as well as in the Jinja 2 -templates, the main difference are [and :ref](../and/) and [or :ref](../or/). +templates, the main difference are [and :ref](and/) and [or :ref](or/). ## Example diff --git a/content/docs/api/environment/render-template/contents.lr b/content/docs/api/environment/render-template/contents.lr index 4b0e4688..7ddae1c2 100644 --- a/content/docs/api/environment/render-template/contents.lr +++ b/content/docs/api/environment/render-template/contents.lr @@ -14,7 +14,7 @@ method. Here are the parameters and what they mean: * `name`: this is the name of the template that should be rendered. It's the local filename relative to the `templates` folder and uses slashes for paths. -* `pad`: when a [Pad :ref](../../pad/) is available, it should be provided +* `pad`: when a [Pad :ref](../../db/pad/) is available, it should be provided so that the `site` variable can be populated. If a context is available then the pad will also be pulled from the context if needed. * `this`: the value of the `this` variable in templates. This should always diff --git a/content/docs/api/templates/globals/get-random-id/contents.lr b/content/docs/api/templates/globals/get-random-id/contents.lr index ad647268..0e88e6b3 100644 --- a/content/docs/api/templates/globals/get-random-id/contents.lr +++ b/content/docs/api/templates/globals/get-random-id/contents.lr @@ -10,7 +10,7 @@ body: In some situations it can be very useful to generate a unique ID in templates. This is particularly useful when creating templates for the [Flow -:ref](../../../../flow/) system and you need unique IDs for the DOM. +:ref](../../../../content/flow/) system and you need unique IDs for the DOM. ## Example diff --git a/content/plugin-categories/templates/contents.lr b/content/plugin-categories/templates/contents.lr index 34c765c7..7c609da3 100644 --- a/content/plugin-categories/templates/contents.lr +++ b/content/plugin-categories/templates/contents.lr @@ -1,7 +1,7 @@ body: #### text-block #### -text: These plugins primarily deal with Lektor's [Templates :ref](/docs/templates/). They may add or modify [context :ref](docs/templates/#template-context), [api :ref](/docs/api/templates/), [filters :ref](/docs/api/templates/filters/), [globals :ref](/docs/api/templates/globals/), [modify images :ref](/docs/templates/imageops/), [change navigation :ref](/docs/templates/navigation/), or many other functionalities available to templates. +text: These plugins primarily deal with Lektor's [Templates :ref](/docs/templates/). They may add or modify [context :ref](/docs/templates/#template-context), [api :ref](/docs/api/templates/), [filters :ref](/docs/api/templates/filters/), [globals :ref](/docs/api/templates/globals/), [modify images :ref](/docs/templates/imageops/), [change navigation :ref](/docs/templates/navigation/), or many other functionalities available to templates. ---- class: default ---