ildragonero: hardcode year for keywordless search. #8148

This commit is contained in:
ilike2burnthing
2025-01-15 17:36:21 +00:00
committed by GitHub
parent 76cf5627de
commit 8f17502d8e

View File

@@ -139,7 +139,7 @@ search:
- name: re_replace
args: ["(\\w+)", "+$1"] # prepend + to each word
inputs:
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}*{{ end }}"
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}2025{{ end }}"
# all, any
terms: all
# Search in subforums: yes 1, no 0