Skip to content

Blogpost Path Uniqueness #213

Closed
Closed

Description

@jdrueckert

Problem

Currently, the title of a blog post will become it's path on the website, for instance a blog post with metadata title "My first Terasology blog!" will be served at /blog/my-first-terasology-blog. This means, that the title needs to be unique, which doesn't really make sense. For instance, if somebody today would write a blog post and title it the same as a blog post written 2 years ago, we would have a conflict there which might not be resolved deterministically.

Proposal

Use the date in combination with the title to avoid the requirement on titles to be unique.

Activity

  1. added
    enhancement
    help wanted
    Good First Issue
    on Apr 30, 2023
  2. Rukki13 commented on Apr 12, 2024

    @Rukki13
    Contributor

    I want to work on this issue

  3. 5archoufa commented on Apr 23, 2024

    @5archoufa

    Here is the pull request: #242

  4. soloturn commented on Nov 11, 2026

    @soloturn
    Contributor

    Addressed by #268: the build now fails when two blog posts map to the same slug, naming both directories, instead of one silently replacing the other. Dates are not added to URLs, as that would break every existing blog link. Closing now, with #268 pending merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issueenhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions