move resipes to ox-hugo and include example

This commit is contained in:
KemoNine 2022-12-03 19:14:16 -05:00
parent a988a289e6
commit 45c6118066
3 changed files with 74 additions and 41 deletions

View file

@ -1,40 +1,35 @@
--- +++
layout: recipe title = "Lemon Chicken 'Fettuccine'"
title: "Lemon Chicken 'Fettuccine'" author = ["KemoNine"]
image: heather-gill-zmBI_GT_xps-unsplash.jpg publishDate = 2022-12-03
imagecaption: A picture of a pile of fresh pasta. The image was obtained from Unsplash at https://unsplash.com/photos/zmBI_GT_xps tags = ["Chicken", "Pasta"]
date: 2022-12-03 draft = false
layout="notes"
AuthorName: KemoNine image="heather-gill-zmBI_GT_xps-unsplash.jpg"
AuthorURL: "https://culinary.kemonine.info" 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"
category: Dinner AuthorName="KemoNine"
cuisine: Italian AuthorURL="https://culinary.kemonine.info"
tags: notes=["Chicken", "Pasta"]
- Pasta category="Dinner"
- Fettuccine cuisine="Italian"
- Chicken yield=4
- Lemon ingredients=[
yield: 4 "cubed chicken",
"angel hair pasta",
ingredients: "zucchini",
- cubed chicken "yellow/summer squash",
- angel hair pasta "salt",
- zucchini "pepper",
- yellow/summer squash "garlic powder",
- salt "cream cheese",
- pepper "Parmesan cheese (the powerdery stuff)",
- garlic powder "lemon juice",
- cream cheese "lemon zest"]
- Parmesan cheese (the powerdery stuff) directions=[
- lemon juice "its a skillet meal",
- lemon zest "you know what to do"]
+++
directions:
- its a skillet meal
- you know what to do
---
- spices are a must - spices are a must
- break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier - break pasta in half or quarters prior to cooking to make the mixing of everything at the end easier

38
ox-hugo/recipe.org Normal file
View file

@ -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

View file

@ -152,7 +152,7 @@
{{ range .Params.inspiration }} {{ range .Params.inspiration }}
<ul class="center"> <ul class="center">
{{ if .url }} {{ if .url }}
<li><a href="{{ .URL }}">{{ .title }}</a></li> <li><a href="{{ .url | safeURL }}">{{ .title }}</a></li>
{{ else }} {{ else }}
<li>{{ .title }}</li> <li>{{ .title }}</li>
{{ end }} {{ end }}