This commit is contained in:
Will Faught
2025-02-12 14:44:41 -08:00
parent 1313c26e9d
commit a22e6b1fc9
3 changed files with 14 additions and 22 deletions

View File

@@ -20,20 +20,16 @@
{{ if and (not $result) $page }}
{{ with $page.Resources.GetMatch $url }}
{{ $result = . }}
{{ else }}
{{ with $page.Resources.Get $url }}
{{ $result = . }}
{{ end }}
{{ else with $page.Resources.Get $url }}
{{ $result = . }}
{{ end }}
{{ end }}
{{ if not $result }}
{{ with resources.GetMatch $url }}
{{ $result = . }}
{{ else }}
{{ with resources.Get $url }}
{{ $result = . }}
{{ end }}
{{ else with resources.Get $url }}
{{ $result = . }}
{{ end }}
{{ end }}