aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
committertdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
commit4e6d2470334d97bef515edec0495fa763639f751 (patch)
tree4d3ab0cf93565f50895ab3a42d1c7404bb894802
parentb8e1c5a3d9d37e8e49cce22a0fdcda260ed481dc (diff)
downloadcanory-4e6d2470334d97bef515edec0495fa763639f751.tar.gz
canory-4e6d2470334d97bef515edec0495fa763639f751.tar.bz2
canory-4e6d2470334d97bef515edec0495fa763639f751.zip
config: Remove archives messages directory
Not needed
-rw-r--r--config.json4
-rw-r--r--config.toml4
-rw-r--r--config.yaml4
-rw-r--r--themes/default/layouts/_default/home.archives.html2
4 files changed, 7 insertions, 7 deletions
diff --git a/config.json b/config.json
index 9bc0475..f292814 100644
--- a/config.json
+++ b/config.json
@@ -45,7 +45,7 @@
},
{
"name": "Archives",
- "url": "/archives/messages/",
+ "url": "/archives/",
"identifier": "tabler/archive",
"weight": 3
},
@@ -215,7 +215,7 @@
"mediaType": "text/html"
},
"archives": {
- "path": "archives/messages",
+ "path": "archives",
"baseName": "index",
"mediaType": "text/html"
},
diff --git a/config.toml b/config.toml
index e7bd944..bdc6d13 100644
--- a/config.toml
+++ b/config.toml
@@ -39,7 +39,7 @@ enableRobotsTXT = true
[[menu.main]]
name = "Archives"
- url = "/archives/messages/"
+ url = "/archives/"
identifier = "tabler/archive"
weight = 3
@@ -151,7 +151,7 @@ enableRobotsTXT = true
baseName = "authors"
mediaType = "text/html"
[outputFormats.archives]
- path = "archives/messages"
+ path = "archives"
baseName = "index"
mediaType = "text/html"
[outputFormats.settings]
diff --git a/config.yaml b/config.yaml
index 5a040ab..707f0bc 100644
--- a/config.yaml
+++ b/config.yaml
@@ -41,7 +41,7 @@ menu:
weight: 2
icon: home
- name: Archives
- url: /archives/messages/
+ url: /archives/
identifier: tabler/archive
weight: 3
- name: Authors
@@ -145,7 +145,7 @@ outputFormats:
baseName: authors
mediaType: text/html
archives:
- path: archives/messages
+ path: archives
baseName: index
mediaType: text/html
settings:
diff --git a/themes/default/layouts/_default/home.archives.html b/themes/default/layouts/_default/home.archives.html
index 3040c86..bfc5358 100644
--- a/themes/default/layouts/_default/home.archives.html
+++ b/themes/default/layouts/_default/home.archives.html
@@ -2,7 +2,7 @@
{{- define "description" -}}An archive of all items &mdash; {{ end -}}
{{- define "styles" -}}
<style>
- {{ partial "navigator.css.html" (dict "Link" "/archives/messages/") | safeCSS }}
+ {{ partial "navigator.css.html" (dict "Link" "/archives/") | safeCSS }}
</style>
{{- end -}}