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

Post level permalink does not override site config #1608

Closed
dsolovay opened this issue Nov 26, 2015 · 7 comments
Closed

Post level permalink does not override site config #1608

dsolovay opened this issue Nov 26, 2015 · 7 comments
Labels
stale wontfix This will not be worked on

Comments

@dsolovay
Copy link

The post permalink does not override the _config.yml setting, but rather replaces the :title element. For example, suppose the setting in _config.yml is this:

permalink: :year/:month/:day/:title/

And suppose you want to change this for certain posts to year/month/title.html. If you set the post permalink to a value like this:

permalink: /2015/11/some-title/

You will end up with a post with this URL:

/2015/11/25/2015/11/some-title/

hexo -version info:

hexo: 3.1.1
os: Windows_NT 6.1.7601 win32 x64
http_parser: 2.3
node: 0.12.4 
v8: 3.28.71.19
uv: 1.5.0
zlib: 1.2.8
modules: 14
openssl: 1.0.1m
@dpaquette
Copy link

I am seeing the same behavior

@pozitron57
Copy link

Have the same problem! 👍

@churchs19
Copy link

Me too.

This was referenced Mar 7, 2016
@kynetiv
Copy link

kynetiv commented Aug 18, 2016

Same issue here. I wonder how the migrator plugins handle this.

@stale stale bot added the wontfix This will not be worked on label Sep 27, 2017
@stale
Copy link

stale bot commented Nov 26, 2017

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 26, 2017
@dsolovay
Copy link
Author

Will look at fixing this as part of https://24pullrequests.com/. Leaving a comment to un-stale it.

@stale stale bot removed the stale label Nov 28, 2017
@stale
Copy link

stale bot commented Jan 27, 2018

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 27, 2018
@stale stale bot closed this as completed Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants