mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
tpl: Fix indeterminate template lookup with templates with and without lang
Close #13636
This commit is contained in:
@@ -56,6 +56,7 @@ func (a aliasHandler) renderAlias(permalink string, p page.Page) (io.Reader, err
|
||||
templateDesc.LayoutFromUser = ""
|
||||
templateDesc.Kind = ""
|
||||
templateDesc.OutputFormat = output.AliasHTMLFormat.Name
|
||||
templateDesc.MediaType = output.AliasHTMLFormat.MediaType.Type
|
||||
|
||||
q := tplimpl.TemplateQuery{
|
||||
Path: base,
|
||||
|
Reference in New Issue
Block a user