btdigg: change keywordless search to current year

This commit is contained in:
ilike2burnthing
2021-05-26 23:50:03 +01:00
committed by GitHub
parent 0c2c2c1ef8
commit 0549daaa36

View File

@@ -40,7 +40,7 @@ search:
paths:
- path: search
inputs:
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}test{{ end }}"
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
# 0 relevance 2 age 3 size 4 files
order: "{{ .Config.sort }}"