X-Git-Url: https://www.kengrimes.com/gitweb/?p=kengrimes.com%2Fcontent.git;a=blobdiff_plain;f=content.org;h=37aa9a4c117b067c55860be0d2f10854e9065260;hp=e655e076f0ddbad883b1c7e8c27ea5a6468aa947;hb=c0683515ff9738eaabf6b9c93ea55d61deb33681;hpb=7072d757845413feff035438ec521c3c0c5ccd3a diff --git a/content.org b/content.org index e655e07..37aa9a4 100644 --- a/content.org +++ b/content.org @@ -132,25 +132,24 @@ navigate between with some built-in menu. So a more functional minimal example would be the following: #+begin_src org -n #+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: @@ -203,20 +202,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. -#+begin_src org -n 25 -,** Fishsticks +#+begin_src org -n 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: @@ -466,45 +465,44 @@ As an example of taxonomies, I'll add some tags and categories to our *hugotest.org* file to create a complete blog structure with tags and categories: #+begin_src org -n #+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: