[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question Regarding Exporting A Single 'blog.org' File With Subheadin
Re: Question Regarding Exporting A Single 'blog.org' File With Subheadings To Multiple Separate Markdown Files
Mon, 13 Jun 2022 13:00:22 -0400
Awesome thanks for this reference.
I wonder, would it make sense to name them in such a way that they could be
ordered, or is Hugo smart enough to just pick up the latest posts based on
Either way, thanks for leading me in the right direction, great reference.
On Mon, Jun 13, 2022, at 10:57 AM, Kaushal Modi wrote:
> On Mon, Jun 13, 2022 at 10:48 AM Samuel Banya <email@example.com> wrote:
> > Hello,
> > I am converting my blog to utilize 'ox-hugo' so that I can convert my
> > single 'blog.org' file with multiple headings that each have a date for the
> > heading name into their own separate Markdown files.
> > Am I doing something wrong within this workflow?
> If you are following the "subtree based export flow", you will need to
> add the EXPORT_FILE_NAME property for each subtree you want to export
> as a post. See this minimal example in the ox-hugo Quick Start guide:
> Also see these:
> > If you choose to export an Org subtree as a post, you need to set the
> > EXPORT_FILE_NAME subtree property. That property is used by this package to
> > figure out where the current post starts.
> > A valid Hugo post subtree is an Org subtree that has the EXPORT_FILE_NAME
> > property set. Note that a subtree with EXPORT_FILE_NAME property cannot
> > nest a subtree with the same property set.