Skip to content

Lost access to _internal/alias.html template #13602

@tastapod

Description

@tastapod

Using Hugo v0.146.3, the following page template no longer renders:

{{- template "_internal/alias.html" (dict "Permalink" .Params.target) -}}

I have tried removing the _internal prefix:

{{- template "alias.html" (dict "Permalink" .Params.target) -}}

and rendering with partial rather than template:

{{- partial "alias.html" (dict "Permalink" .Params.target) -}}

Both of these give the following error:

Error: error copying static files: html/template:redirect/single.html:1:13: no such template "_internal/alias.html"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions