Skip to content

Sorting blog posts in the content/blog subfolder #196

@verlok

Description

@verlok

My content folder has a blog subfolder, which in turn has all the blog posts as subfolders, e.g. how-to-use-this-for-that, and every blog folder contains an index.md file for the post content, plus images that are required for that blog post.

The problem I have is to be able to determine which blog post is more recent and what is older in the content/blog subfolder. I would like a solution where every folder started with the date, e.g. 2024-11-11_how-to-use-this-for-that.

How can I achieve that using eleventy v2? And with v3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions