From 98bb69c0918d822cde971094b5f85ba1d39adc34 Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Sun, 27 Feb 2022 09:14:34 -0800 Subject: [PATCH] Fix some internal links with bad anchors --- content/docs/api/db/obj/url-to/contents.lr | 2 +- content/docs/content/urls/contents.lr | 2 +- content/docs/guides/sitemap/contents.lr | 2 +- content/docs/templates/videoops/contents.lr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/api/db/obj/url-to/contents.lr b/content/docs/api/db/obj/url-to/contents.lr index 6e9bbc45..79618294 100644 --- a/content/docs/api/db/obj/url-to/contents.lr +++ b/content/docs/api/db/obj/url-to/contents.lr @@ -20,7 +20,7 @@ relative to the current page and `external` can be used to also add the domain part to the URL (if configured). The default behavior is to use the configured URL style (which is `relative`) unless absolute or external were explicitly provided. For more information read about this in the -[Project Configuration :ref](../../../../project/file/#[project]). +[Project Configuration :ref](../../../../project/file/#project). ## Example diff --git a/content/docs/content/urls/contents.lr b/content/docs/content/urls/contents.lr index 83385304..6e9d481c 100644 --- a/content/docs/content/urls/contents.lr +++ b/content/docs/content/urls/contents.lr @@ -103,7 +103,7 @@ to be configured. You can pick the default for URL generation in the project configuration. For more information read about the [Project Configuration -:ref](../../project/file/#[project]). +:ref](../../project/file/#project). The default of `relative`, a relative URL style, means that you can deploy a website to a sub folder without any configuration, however most likely custom diff --git a/content/docs/guides/sitemap/contents.lr b/content/docs/guides/sitemap/contents.lr index 91433041..40083b3c 100644 --- a/content/docs/guides/sitemap/contents.lr +++ b/content/docs/guides/sitemap/contents.lr @@ -51,7 +51,7 @@ from the last build. Note that because sitemaps need to have external URLs (with scheme and everything) you will need to configure the `url` of the site before the template starts working. For more information see [Project File -:ref](../../project/file/#[project]) +:ref](../../project/file/#project) ## Human Readable Sitemap diff --git a/content/docs/templates/videoops/contents.lr b/content/docs/templates/videoops/contents.lr index 31f58a72..e02d25fc 100644 --- a/content/docs/templates/videoops/contents.lr +++ b/content/docs/templates/videoops/contents.lr @@ -14,7 +14,7 @@ Just like [images](../imageops/), videos are separate files that are embedded in {% endfor %} ``` -Just like images you can also access them using `site.get('/myfolder').attachments.videos` or `site.get('/myfolder').attachments.get('examplevideo.mp4')`. Note that not all formats are detected as videos (see [attachments](../../content/attachments/)). If your format is not in the list you may still be able to get it detected as a video by adding it to your [Lektor project file](../../project/file/#[attachment_types]). +Just like images you can also access them using `site.get('/myfolder').attachments.videos` or `site.get('/myfolder').attachments.get('examplevideo.mp4')`. Note that not all formats are detected as videos (see [attachments](../../content/attachments/)). If your format is not in the list you may still be able to get it detected as a video by adding it to your [Lektor project file](../../project/file/#attachment-types). ## Accessing metadata