Skip to content

{{ page.name }} doesn't return anything on posts #8699

@jjnilton

Description

@jjnilton

My Environment

Software Version(s)
Debian 11
jekyll Latest
github-pages No

Expected Behaviour

{{ page.name }} should return the filename of the post, like it does with pages and is described in the docs.

Current Behavior

It doesn't return anything on posts.

Code Sample

  1. jekyll new blog
  2. Include a {{ page.name }} somewhere on the default post
  3. Check the default post

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions