Skip to content

i18n_headers seems to not support permalinks with placeholder variables #272

Description

@GruberMarkus

The i18n_headers Liquid tag does not seem to support permalinks with placeholder variables, such as permalink: "/blog/:year/:month/:day/:slug/".

In the headers, the permalink is shown as defined in the front matter, without the placeholder variables being resolved to their actual values. It does not matter if the value in the permalink is in quotes or not.

permalink: "/blog/:year/:month/:day/:slug/" results in the literal i18n header href "/blog/:year/:month/:day/:slug/" instead of the resolved one (/blog/2025/10/27/my-own-slug/).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions