-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Non-MD files in the content directory ignores permalinks #1199
Comments
Permalinks applies to content generated by Hugo. There will come an extension to this concept that, probably, will let you somehow bundle media files and content files that I guess will cover this one. |
I do not follow your reasoning. Hugo's job is to generate content from source, and permalinks are a way to facilitate changing the destination of the generated content. The feature #147 was implemented incompletely, or rather, overlooking the effect of permalinks on the generated content. |
Yeas, well. #147 was covered if you look at the headline. I agree that there are missing work here, but we do not get that work done by arguing which issue it belongs to. |
There is no argument. There is only the fact that you have probably misunderstood what this bug report is about and labelled it incorrectly as a feature request. Make no mistake, this is a bug report for incorrect functionality, don't down-play this. Let me re-iterate:
Does that sound like a feaure request or an a bug report for an incorrect functionality? |
Forget it, this is not worth the effort. |
@bep I must agree with @gima that there is an issue. I'd like to be able to put PNG images alongside my blog posts, and get them copied over to the output, as is. However, when using permalinks for a post found in This means that I cannot use the same links when editing my files in an editor with active Markdown previewing, and when pushing them through Hugo. That's sad... |
And by the way, if I want the images to be copied info the correct folder, I have to set:
Just disabling permalinks is not enough, as the post gets copied to |
@gima Please reopen the issue. This is something needs to be discussed. |
Removing. See below. |
Re-closing and moving comment to more appropriate bug-report (#1768). |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Does not work with permalinks.
Files are laid out in a directory path matching the pre-permalink URL, thus effecively ignoring permalinks completely.
Link to the issue adding this feature: #147 (Non-MD files in the content directory (like jpg's and png's) end up as html's)
The text was updated successfully, but these errors were encountered: