yourbittorrent: change keywordless search to .Today.Year

This commit is contained in:
ilike2burnthing
2021-01-01 04:24:30 +00:00
committed by GitHub
parent 1293a433c0
commit 3cb67cc1ff

View File

@@ -41,7 +41,7 @@ search:
inputs:
v: ""
c: ""
q: "{{ .Keywords }}"
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "-"]