[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question Regarding Exporting A Single '' File With Subheadin

From: Samuel Banya
Subject: Re: Question Regarding Exporting A Single '' File With Subheadings To Multiple Separate Markdown Files
Date: Mon, 13 Jun 2022 13:00:22 -0400
User-agent: Cyrus-JMAP/3.7.0-alpha0-692-gb287c361f5-fm-20220603.003-gb287c361

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 
export date?

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 <> wrote:
> >
> > Hello,
> >
> > I am converting my blog to utilize 'ox-hugo' so that I can convert my 
> > single '' 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]