From 45c6118066f47b306d3ed0344362fbcad1e1c014 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 3 Dec 2022 19:14:16 -0500 Subject: [PATCH] move resipes to ox-hugo and include example --- .../index.md | 75 +++++++++---------- ox-hugo/recipe.org | 38 ++++++++++ themes/gochowdown/layouts/recipes/single.html | 2 +- 3 files changed, 74 insertions(+), 41 deletions(-) create mode 100644 ox-hugo/recipe.org diff --git a/content/recipes/2022-12-03-lemon-chicken-fettuccine/index.md b/content/recipes/2022-12-03-lemon-chicken-fettuccine/index.md index 4e35b7e..dc38e03 100644 --- a/content/recipes/2022-12-03-lemon-chicken-fettuccine/index.md +++ b/content/recipes/2022-12-03-lemon-chicken-fettuccine/index.md @@ -1,40 +1,35 @@ ---- -layout: recipe -title: "Lemon Chicken 'Fettuccine'" -image: heather-gill-zmBI_GT_xps-unsplash.jpg -imagecaption: A picture of a pile of fresh pasta. The image was obtained from Unsplash at https://unsplash.com/photos/zmBI_GT_xps -date: 2022-12-03 - -AuthorName: KemoNine -AuthorURL: "https://culinary.kemonine.info" - -category: Dinner -cuisine: Italian -tags: - - Pasta - - Fettuccine - - Chicken - - Lemon -yield: 4 - -ingredients: - - cubed chicken - - angel hair pasta - - zucchini - - yellow/summer squash - - salt - - pepper - - garlic powder - - cream cheese - - Parmesan cheese (the powerdery stuff) - - lemon juice - - lemon zest - -directions: - - its a skillet meal - - you know what to do - ---- - - - spices are a must - - break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier ++++ +title = "Lemon Chicken 'Fettuccine'" +author = ["KemoNine"] +publishDate = 2022-12-03 +tags = ["Chicken", "Pasta"] +draft = false +layout="notes" +image="heather-gill-zmBI_GT_xps-unsplash.jpg" +imagecaption="A picture of a pile of fresh pasta. The image was obtained from Unsplash at https://unsplash.com/photos/zmBI_GT_xps" +date="2022-12-03" +AuthorName="KemoNine" +AuthorURL="https://culinary.kemonine.info" +notes=["Chicken", "Pasta"] +category="Dinner" +cuisine="Italian" +yield=4 +ingredients=[ + "cubed chicken", + "angel hair pasta", + "zucchini", + "yellow/summer squash", + "salt", + "pepper", + "garlic powder", + "cream cheese", + "Parmesan cheese (the powerdery stuff)", + "lemon juice", + "lemon zest"] +directions=[ + "its a skillet meal", + "you know what to do"] ++++ + +- spices are a must +- break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier diff --git a/ox-hugo/recipe.org b/ox-hugo/recipe.org new file mode 100644 index 0000000..7dde7e6 --- /dev/null +++ b/ox-hugo/recipe.org @@ -0,0 +1,38 @@ +* Template Recipe :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="date" +AuthorName="KemoNine" +AuthorURL="https://culinary.kemonine.info" +notes=["Tag1", "Tag2"] +category="PickABroadCategeory" +cuisine="PickABroadType" +yield=4 +prepTime="2 hrs" +cookTime="1 hrs" +ingredients=[ + "ingredient 1", + "ingredient 2"] +directions=[ + "step 1", + "step 2"] +[[inspiration]] + title="this is only text" +[[inspiration]] + title="this is a link" + url="https://foo.bar" +#+end_src + + - step 1 + - step 2 diff --git a/themes/gochowdown/layouts/recipes/single.html b/themes/gochowdown/layouts/recipes/single.html index 183ab18..b48c272 100644 --- a/themes/gochowdown/layouts/recipes/single.html +++ b/themes/gochowdown/layouts/recipes/single.html @@ -152,7 +152,7 @@ {{ range .Params.inspiration }}