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'"
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
---
+++
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

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 }}
<ul class="center">
{{ if .url }}
<li><a href="{{ .URL }}">{{ .title }}</a></li>
<li><a href="{{ .url | safeURL }}">{{ .title }}</a></li>
{{ else }}
<li>{{ .title }}</li>
{{ end }}