From a988a289e6154bd07cc9d1e424e49ab36ba058ef Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 3 Dec 2022 18:41:54 -0500 Subject: [PATCH] flip notes to ox-hugo generation and include an example --- .../2022-12-03-chili-pepper-notes/index.md | 33 +++++++++---------- ox-hugo/note.md | 4 ++- ox-hugo/note.org | 21 ++++++++++++ 3 files changed, 39 insertions(+), 19 deletions(-) create mode 100644 ox-hugo/note.org diff --git a/content/notes/2022-12-03-chili-pepper-notes/index.md b/content/notes/2022-12-03-chili-pepper-notes/index.md index ccc3130..b931e8a 100644 --- a/content/notes/2022-12-03-chili-pepper-notes/index.md +++ b/content/notes/2022-12-03-chili-pepper-notes/index.md @@ -1,22 +1,19 @@ ---- -layout: notes -title: "Chili Pepper Notes" -image: noun-fire-962988.png -imagecaption: "A black and white flame illustrating how hot peppers can be" -date: 2022-12-03 ++++ +title = "Chili Pepper Notes" +author = ["KemoNine"] +publishDate = 2022-12-03 +tags = ["Safety", "Information", "Peppers"] +draft = false +layout="notes" +image="noun-fire-962988.png" +imagecaption="A black and white flame illustrating how hot peppers can be" +date="2022-12-x" +AuthorName="KemoNine" +AuthorURL="https://culinary.kemonine.info" +notes=["Safety", "Information", "Peppers"] ++++ -AuthorName: KemoNine -AuthorURL: "https://culinary.kemonine.info" - -notes: - - Information - - Heat - - Spice -tags: - - Information - - Heat - - Spice ---- +## Scoville Unit Table {#scoville-unit-table} | Pepper | Scoville Units | |----------|---------------------| diff --git a/ox-hugo/note.md b/ox-hugo/note.md index ff00c41..80a7ed3 100644 --- a/ox-hugo/note.md +++ b/ox-hugo/note.md @@ -18,4 +18,6 @@ notes: tags: - tag 1 - tag 2 ---- \ No newline at end of file +--- + +Note Text Goes Here diff --git a/ox-hugo/note.org b/ox-hugo/note.org new file mode 100644 index 0000000..269aeb1 --- /dev/null +++ b/ox-hugo/note.org @@ -0,0 +1,21 @@ +* Template Note :Tag1:Tag2: +:PROPERTIES: +:ID: uuid +:EXPORT_HUGO_BUNDLE: date-title +:EXPORT_FILE_NAME: index.md +:EXPORT_HUGO_PUBLISHDATE: date +:EXPORT_HUGO_DRAFT: true +:DIR: ~/org/culinary/data/bundle/ +:END: + +#+begin_src toml :front_matter_extra t +layout="notes" +image="plate_pic.jpg" +imagecaption="This is the alt text /and/ image caption. Do **NOT** skip!" +date="2022-12-03" +AuthorName="KemoNine" +AuthorURL="https://culinary.kemonine.info" +notes=["Tag1", "Tag2"] +#+end_src + +Note Text Goes Here