torrent-pirat: replace hard-coded 2020 for .today.year

This commit is contained in:
Garfield69 2021-03-01 18:07:37 +13:00
parent be57841a50
commit 48ca099837
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ search:
- path: search.php
inputs:
tracker_search: torrent
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}2020{{ end }}"
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
terms: all
fp: 1
author: ""