aboutsummaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-12-16 20:31:51 -0500
committertdro <tdro@noreply.example.com>2022-12-16 20:31:51 -0500
commita298248eea70d434f421f63256aace027c063ffb (patch)
treedf9e093e5340b459fc57c6b8a521340a63259519 /config.json
parentc07cd18abaf9a175b28431a5365e04cd0d223a0c (diff)
downloadcanory-a298248eea70d434f421f63256aace027c063ffb.tar.gz
canory-a298248eea70d434f421f63256aace027c063ffb.tar.bz2
canory-a298248eea70d434f421f63256aace027c063ffb.zip
themes/default/layouts/_default/single: Add related content
Add related configuration. May need to soon optimize the templates..
Diffstat (limited to 'config.json')
-rw-r--r--config.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.json b/config.json
index f4fad5d..883e120 100644
--- a/config.json
+++ b/config.json
@@ -179,6 +179,21 @@
}
}
},
+ "related": {
+ "includeNewer": false,
+ "indices": [
+ {
+ "name": "tags",
+ "weight": 80
+ },
+ {
+ "name": "date",
+ "weight": 10
+ }
+ ],
+ "threshold": 80,
+ "toLower": false
+ },
"mediaTypes": {
"application/xslt+xml": {
"suffixes": [