Fix some internal links with bad anchors
This commit is contained in:
parent
a3a928efaf
commit
98bb69c091
|
@ -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
|
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
|
configured URL style (which is `relative`) unless absolute or external were
|
||||||
explicitly provided. For more information read about this in the
|
explicitly provided. For more information read about this in the
|
||||||
[Project Configuration :ref](../../../../project/file/#[project]).
|
[Project Configuration :ref](../../../../project/file/#project).
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ to be configured.
|
||||||
|
|
||||||
You can pick the default for URL generation in the project configuration.
|
You can pick the default for URL generation in the project configuration.
|
||||||
For more information read about 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
|
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
|
website to a sub folder without any configuration, however most likely custom
|
||||||
|
|
|
@ -51,7 +51,7 @@ from the last build.
|
||||||
Note that because sitemaps need to have external URLs (with scheme and
|
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
|
everything) you will need to configure the `url` of the site before the
|
||||||
template starts working. For more information see [Project File
|
template starts working. For more information see [Project File
|
||||||
:ref](../../project/file/#[project])
|
:ref](../../project/file/#project)
|
||||||
|
|
||||||
## Human Readable Sitemap
|
## Human Readable Sitemap
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ Just like [images](../imageops/), videos are separate files that are embedded in
|
||||||
{% endfor %}
|
{% 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
|
## Accessing metadata
|
||||||
|
|
Loading…
Reference in New Issue