You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have a folder posts. Each post has a subfolder with index.md and a few images used on a page (passthrough is turned on for images extension).
/posts
/first-post
index.md
foo.jpg
This structure is rendered to e.g. out/posts/.... Everything works as expected.
If I want to change permalink for all posts (using /posts/posts.json), it will affect only the output of md files - but images will be copied in old folders.
How can I change the permalinks for the images, too?
I do not want to split images in separate folders, as they logically belong next to a page and I can write my article in visual markdown editor where I can preview the image. So the article and the image(s) should stay together.
The text was updated successfully, but these errors were encountered:
igr
changed the title
Permlinks for images
Permalinks for images
Mar 19, 2019
in Hugo, for example, you have a concept of a bundle where everything that is in the same folder as index.md is considered as part of that page. I like this concept as the logical place where to put e.g. images etc is next to the MD file.
Maybe you can simply add a flag bundle: true that indicates that the whole folder is just a page :)
Let's say I have a folder
posts
. Each post has a subfolder withindex.md
and a few images used on a page (passthrough is turned on for images extension).This structure is rendered to e.g.
out/posts/...
. Everything works as expected.If I want to change permalink for all posts (using
/posts/posts.json
), it will affect only the output ofmd
files - but images will be copied in old folders.How can I change the permalinks for the images, too?
I do not want to split images in separate folders, as they logically belong next to a page and I can write my article in visual markdown editor where I can preview the image. So the article and the image(s) should stay together.
The text was updated successfully, but these errors were encountered: