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

When the Url end with "*.conf", the page will be wrong! #1822

Closed
geekbuf opened this issue Mar 10, 2016 · 5 comments
Closed

When the Url end with "*.conf", the page will be wrong! #1822

geekbuf opened this issue Mar 10, 2016 · 5 comments

Comments

@geekbuf
Copy link

geekbuf commented Mar 10, 2016

http://fairyeye.github.io
http://fairyeye.github.io/2015/11/19/2015-11-19-where-is-my-vsftpd.conf?

I guess the string about "*.conf" is a keyword,so the page will be wrong like this to output html code.

Have anyone can tell me how to solve it except modify my url ? Thanks.

@leesei
Copy link
Member

leesei commented Mar 13, 2016

Try adding this to `_config.yml`:
skip_render:
- *.conf

Name your post 2015-11-19-where-is-my-vsftpd-conf.md

@geekbuf
Copy link
Author

geekbuf commented Mar 13, 2016

So,except rename my post title,haven't any other ways to solve it?

@gboudreau
Copy link

You can keep your current URL by hard-coding the permalink in the post' front-matter.
So rename the file as suggested by @leesei, then add this in the post' front-matter:

permalink: 2015/11/19/2015-11-19-where-is-my-vsftpd.conf

@leesei
Copy link
Member

leesei commented Mar 14, 2016

@gboudreau Thanks for the tip.

@geekbuf
Copy link
Author

geekbuf commented Mar 15, 2016

@gboudreau I get it. Thanks.

@geekbuf geekbuf closed this as completed Mar 15, 2016
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

3 participants