Skip to content

[Bug]: name attributes defined in front matter are rendered incorrectly with Jekyll 4.3.0 #9164

@marcwrobel

Description

@marcwrobel

Operating System

Debian 11

Ruby Version

ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]

Jekyll Version

Jekyll 4.3.0

GitHub Pages Version

Latest

Expected Behavior

If a collection declare the name attribute its document front matter, the attribute value should be rendered in the templates that are referencing this attribute.

Current Behavior

When referencing the name attribute, the markdown filename is rendered instead of the attribute value. Other attributes are rendered as expected.

Relevant log output

No response

Code Sample

On main branch (Jekyll 4.2.2) everything works fine :

On jekyll-4.3.0 branch (Jekyll 4.3.0) name attributes are not rendered as expected :

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