Replies: 6 comments 3 replies
-
Ok maybe I can narrow that down. Pages section are not being exported. I get the error "Point is not a valid Hugo post subtree; move to one and try again". So the question is what is a valid Hugo post subtree? In the doc I can find the following:
I do have the file name, so it should be exported? Or maybe that’s not considered a post, and needs something else? |
Beta Was this translation helpful? Give feedback.
-
Ok maybe I can narrow that down. Pages section are not being exported. I get the error "Point is not a valid Hugo post subtree; move to one and try again". So the question is what is a valid Hugo post subtree? In the doc I can find the following:
I do have the file name, so it should be exported? Or maybe that’s not considered a post, and needs something else? |
Beta Was this translation helpful? Give feedback.
-
Hi Louis, I'm travelling and on phone, so cannot run your example. But I see 2 main issues:
|
Beta Was this translation helpful? Give feedback.
-
Check out this example from the test suite on how you can organize the page bundles: https://github.com/kaushalmodi/ox-hugo/blob/main/test/site/content-org/deep-nesting.org?plain=1 |
Beta Was this translation helpful? Give feedback.
-
First of, thanks for your time and response! Indeed, Just to be clear, copying and pasting the example file exports properly. It’s just me trying to replicate that does not export. Clearly something’s wrong with me. I can’t figure it out!
That’s what I have. The homepage works fine. However, both the resume section and the about section do not export with the aforementioned error. I think I’m mainly confused with the |
Beta Was this translation helpful? Give feedback.
-
Interesting, thank you! |
Beta Was this translation helpful? Give feedback.
-
I’m trying to publish everything with the preferred workflow (subtree) posts, but I can’t figure out why it’s not working.
I followed the documentation, instructions, and examples for real world websites, yet it still doesn’t work. Instead of exporting all subtrees to multiple markdown files in their respecting directories, it only exports he posts, not the pages, and the second post is not under the
articles
bundle.Here is the file I am trying to export. I really don’t know what I am doing wrong. Any help would be very welcome.
The end results is the following (
tree content/
):Beta Was this translation helpful? Give feedback.
All reactions