rename output_path_short and output_path_long, resolves #10

This commit is contained in:
zyl 2024-11-13 11:27:37 -08:00
parent 847f0c7ee7
commit 4c6064a5a1
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
4 changed files with 16 additions and 16 deletions

View file

@ -9,8 +9,8 @@ code_theme: base16-ocean.dark # options: base16-ocean.dark, base16-eighties.dark
resources:
blog:
source_path: blog
output_path_short: blog
output_path_long: blog
output_path_resources: blog
output_path_lists: blog
resource_template: blog/blog.tera
resource_list_template: blog/list.tera
tag_list_template: basic-link-list.tera

View file

@ -17,13 +17,13 @@ each resource added has its own configuration inside of the main site config fil
the source path for where the resources of this type are located, relative to `<site_path>/resources/`.
### `output_path_short`
### `output_path_resources`
the path prefix for a resource, i.e. "blog" for `/blog/<post id>` or "i" for `/i/<image id>`. can be shared with `output_path_long` for them to have the same prefix.
the path prefix for a resource, i.e. "blog" for `/blog/<post id>` or "i" for `/i/<image id>`. can be shared with `output_path_lists` for them to have the same prefix.
### `output_path_long`
### `output_path_lists`
the path prefix for other resource pages, like the overview or tags. i.e. "blog" for `/blog/tags/<tag>` or "images" for `/images/tags/<tag>`. can be shared with `output_path_short` for them to have the same prefix.
the path prefix for other resource pages, like the overview or tags. i.e. "blog" for `/blog/tags/<tag>` or "images" for `/images/tags/<tag>`. can be shared with `output_path_resources` for them to have the same prefix.
### `resource_template`