Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wong post_url reuslt #11

Open
teddychan opened this issue Jul 28, 2013 · 0 comments
Open

Wong post_url reuslt #11

teddychan opened this issue Jul 28, 2013 · 0 comments

Comments

@teddychan
Copy link

for the setting:

"post_url": "/{year}/{month}/{title}",

I created a posts: 2013-05-16_the-post-title

Suppose I should get the URL
/2013/05/the-post-title

However, when I run punch g
I got:

Created /2013/05/16_the-post-title

Here is the setting in config.json

"blog": {
        "posts_dir": "posts",
        "post_format": "markdown",
        "post_url": "/{year}/{month}/{title}",
        "teaser_length": 2,
        "homepage_posts": 5,

        "archive_urls": {
            "all": "/archive",
            "year": "/{year}",
            "year_month": "/{year}/{month}",
            "year_month_date": "/{year}/{month}/{date}",
            "tag": "/tag/{tag}"
        }
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant