use maintained theme

This commit is contained in:
Christoph Cullmann 2021-02-18 22:21:36 +01:00
parent 640572ecab
commit 0c7cb4486a
1779 changed files with 41468 additions and 26258 deletions

View file

@ -1,16 +0,0 @@
{{- $resource := 0 -}}
{{- $url := urls.Parse .Path -}}
{{- if not $url.Host | and $url.Path | and (strings.HasSuffix $url.Path "/" | not) -}}
{{- if .Resources -}}
{{- with .Resources.GetMatch $url.Path -}}
{{- $resource = . -}}
{{- end -}}
{{- end -}}
{{- if not $resource -}}
{{- with resources.Get $url.Path -}}
{{- $resource = . -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- return $resource -}}