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: inputs:
v: "" v: ""
c: "" c: ""
q: "{{ .Keywords }}" q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
keywordsfilters: keywordsfilters:
- name: re_replace - name: re_replace
args: ["[\\s]+", "-"] args: ["[\\s]+", "-"]