X-Git-Url: https://www.kengrimes.com/gitweb/?p=kengrimes.com%2Fcontent.git;a=blobdiff_plain;f=content%2Fox-hugo-tutorial.md;fp=content%2Fox-hugo-tutorial.md;h=c4210eb50a0668c0d70e4be9572ff057c16302e4;hp=cb60081d35bfd2c07b99ae49eb534f56eaa32226;hb=c0683515ff9738eaabf6b9c93ea55d61deb33681;hpb=7072d757845413feff035438ec521c3c0c5ccd3a diff --git a/content/ox-hugo-tutorial.md b/content/ox-hugo-tutorial.md index cb60081..c4210eb 100644 --- a/content/ox-hugo-tutorial.md +++ b/content/ox-hugo-tutorial.md @@ -136,25 +136,24 @@ would be the following: {{< highlight org "linenos=table, linenostart=1" >}} #+hugo_base_dir: . -* Site Root -** Homepage +* Homepage :PROPERTIES: :EXPORT_HUGO_SECTION: :EXPORT_FILE_NAME: _index :EXPORT_HUGO_MENU: :menu "main" :END: This is the home of my blog! -** Blog Posts +* Blog Posts :PROPERTIES: :EXPORT_HUGO_SECTION: posts :END: -*** My Blog Homepage +** My Blog Homepage :PROPERTIES: :EXPORT_HUGO_MENU: :menu "main" :EXPORT_FILE_NAME: _index :END: Man, look at all my blog posts. -*** One Bad Night +** One Bad Night :PROPERTIES: :EXPORT_FILE_NAME: bad-night :END: @@ -213,20 +212,20 @@ which sub-directory the content will output to). To illustrate, let's assume you want to extend the previous site definition with a section about fishsticks. -{{< highlight org "linenos=table, linenostart=25" >}} -** Fishsticks +{{< highlight org "linenos=table, linenostart=24" >}} +* Fishsticks :PROPERTIES: :EXPORT_HUGO_SECTION: fishsticks :EXPORT_HUGO_MENU: :menu "main" :EXPORT_FILE_NAME: _index :END: This section devoted to Orson Wells, R.I.P. -*** Van De Camps +** Van De Camps :PROPERTIES: :EXPORT_FILE_NAME: van-de-camps :END: If this is fish, I'll be a monkey's uncle. -*** Gortons +** Gortons :PROPERTIES: :EXPORT_FILE_NAME: gortons :END: @@ -499,45 +498,44 @@ As an example of taxonomies, I'll add some tags and categories to our {{< highlight org "linenos=table, linenostart=1" >}} #+hugo_base_dir: . -* Site Root -** Homepage +* Homepage :PROPERTIES: :EXPORT_HUGO_SECTION: :EXPORT_FILE_NAME: _index :EXPORT_HUGO_MENU: :menu "main" :END: This is the home of my blog! -** Blog Posts +* Blog Posts :PROPERTIES: :EXPORT_HUGO_SECTION: posts :END: -*** My Blog Homepage +** My Blog Homepage :PROPERTIES: :EXPORT_HUGO_MENU: :menu "main" :EXPORT_FILE_NAME: _index :END: Man, look at all my blog posts. -*** One Bad Night :@updates:herpes:fear: +** One Bad Night :@updates:herpes:fear: :PROPERTIES: :EXPORT_FILE_NAME: bad-night :END: Someone gave me herpes! Oh no! -** Fishsticks +* Fishsticks :PROPERTIES: :EXPORT_HUGO_SECTION: fishsticks :END: -*** Fishsticks Home +** Fishsticks Home :PROPERTIES: :EXPORT_HUGO_MENU: :menu "main" :EXPORT_FILE_NAME: _index :END: This section devoted to Orson Wells, R.I.P. -*** Van De Camps :@reviews:fear: +** Van De Camps :@reviews:fear: :PROPERTIES: :EXPORT_FILE_NAME: van-de-camps :END: If this is fish, I'll be a monkey's uncle. -*** Gortons :@reviews:herpes: +** Gortons :@reviews:herpes: :PROPERTIES: :EXPORT_FILE_NAME: gortons :END: