Skip to content

Post title for display vs for URL? #100

@ghost

Description

Crossposting here from StackOverflow. New to Poet, the post title is not behaving as I'd expect from the example.

I expect that if a post were in the file hello.md and had the configuration {{{ title: 'hello-world', ...}}} that this would be available at the route http://hostname/post/hello and have the display render the title to the reader as <h1>hello-world</h1>. That's the way it seems to be working in the reference blog, e.g.:

However, in my case it seems to be using the title attribute for both the URL and the display string. In my case, the post is accessible only at http://hostname/posts/hello-world and the page title is also rendered as <h1>hello-world</h1>.

What might I be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions