Remove relLangURL from resource URLs
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
{{ with $page.Resources.GetMatch $url }}
|
||||
{{ $resource = . }}
|
||||
{{ else }}
|
||||
{{ with $page.Resources.Get (relLangURL $url) }}
|
||||
{{ with $page.Resources.Get $url }}
|
||||
{{ $resource = . }}
|
||||
{{ else }}
|
||||
{{ with resources.GetMatch $url }}
|
||||
{{ $resource = . }}
|
||||
{{ else }}
|
||||
{{ with resources.Get (relLangURL $url) }}
|
||||
{{ with resources.Get $url }}
|
||||
{{ $resource = . }}
|
||||
{{ else }}
|
||||
{{ with resources.GetRemote $url }}
|
||||
|
@@ -27,7 +27,7 @@
|
||||
{{ if not $resource }}
|
||||
{{ $resource = partial "paige/func-resource.html" (dict
|
||||
"page" $page
|
||||
"url" (relLangURL $src)
|
||||
"url" $src
|
||||
) }}
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user