Compare commits

...

2 Commits

Author SHA1 Message Date
75222975af parabellumhd: fix year input 2025-05-12 07:17:03 +12:00
3d919aa88b Update rudub.yml 2025-05-12 05:50:10 +12:00
2 changed files with 4 additions and 5 deletions

View File

@ -60,8 +60,7 @@ search:
view: list
order: "{{ .Config.sort }}"
search: "{{ .Keywords }}"
# if the year is not available in .Query.Year then extract it from .Query.Keywords if found
year: "{{ if .Query.Year }}{{ .Query.Year }}{{ else }}{{ re_replace .Query.Keywords \"(.*\\b((19|20)\\d{2})\\b.*)\" \"$2\" }}{{ end }}"
year: "{{ .Query.Year }}"
keywordsfilters:
- name: re_replace # remove year
args: ["\\b((19|20)\\d{2})\\b", ""]

View File

@ -9,10 +9,8 @@ type: semi-private
encoding: windows-1251
followredirect: true
links:
- https://may11.rudub.biz/
- https://may12.rudub.biz/
legacylinks:
- http://apr26.rudub.biz/
- https://apr26.rudub.biz/
- http://apr27.rudub.biz/
- https://apr27.rudub.biz/
- http://apr28.rudub.biz/
@ -42,6 +40,8 @@ legacylinks:
- http://may10.rudub.biz/
- https://may10.rudub.biz/
- http://may11.rudub.biz/
- https://may11.rudub.biz/
- http://may12.rudub.biz/
caps:
categorymappings: