I am not sure if this fits here or if I maybe misinterpret things, so bear with me :)
I was wondering if it's possible to use the content of a folder as a template. Currently it does not look like it. While the content (in sense of "the words of my post") is the markdown file itself, sometimes my content has identical header images or just files that are in the post itself. Using Hugo and "leaf bundles" you can have template content of a page within a folder. While it's currently possible to create content within a folder, it's not possible to use the "new post" button and for instance copy over the content of a folder into the newly created content folder.
running hugo new blog/blafasel creates a folder blafasel with the content of the above archetype and placeholder replacements in index.md.
This is not a big issue, because I can "just" run hugo itself to create my new post. But maybe it's already possible somewhere within the insides of FrontMatter and a useful feature for others.
I am not sure if this fits here or if I maybe misinterpret things, so bear with me :)
I was wondering if it's possible to use the content of a folder as a template. [Currently](https://frontmatter.codes/docs/content-creation/content-types) it does not look like it. While the content (in sense of "the words of my post") is the markdown file itself, sometimes my content has identical header images or just files that are in the post itself. Using Hugo and "[leaf bundles](https://gohugo.io/content-management/page-bundles/)" you can have template content of a page within a folder. While it's currently possible to create content within a folder, it's not possible to use the "new post" button and for instance copy over the content of a folder into the newly created content folder.
A sample under Hugo:
- [blog archetype on my site](https://github.com/davidsneighbour/kollitsch.dev/tree/main/archetypes/blog)
- running `hugo new blog/blafasel` creates a folder blafasel with the content of the above archetype and placeholder replacements in index.md.
This is not a big issue, because I can "just" run `hugo` itself to create my new post. But maybe it's already possible somewhere within the insides of FrontMatter and a useful feature for others.
<!-- github-sync-id:1593609364 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I am not sure if this fits here or if I maybe misinterpret things, so bear with me :)
I was wondering if it's possible to use the content of a folder as a template. Currently it does not look like it. While the content (in sense of "the words of my post") is the markdown file itself, sometimes my content has identical header images or just files that are in the post itself. Using Hugo and "leaf bundles" you can have template content of a page within a folder. While it's currently possible to create content within a folder, it's not possible to use the "new post" button and for instance copy over the content of a folder into the newly created content folder.
A sample under Hugo:
hugo new blog/blafaselcreates a folder blafasel with the content of the above archetype and placeholder replacements in index.md.This is not a big issue, because I can "just" run
hugoitself to create my new post. But maybe it's already possible somewhere within the insides of FrontMatter and a useful feature for others.The currently possible solution would be a
postScriptthat copies all files over.