diff --git a/themes/gochowdown/archetypes/note-bundle/index.md b/themes/gochowdown/archetypes/note-bundle/index.md new file mode 100644 index 0000000..ff00c41 --- /dev/null +++ b/themes/gochowdown/archetypes/note-bundle/index.md @@ -0,0 +1,21 @@ +--- +layout: notes +title: "Template Note" +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" +inspiration: + - title: This isn't a link + - title: Link text + url: "https://domain.tld" + +notes: + - tag 1 + - tag 2 +tags: + - tag 1 + - tag 2 +--- \ No newline at end of file diff --git a/themes/gochowdown/archetypes/recipe-bundle/awesome-recipe-image.jpg b/themes/gochowdown/archetypes/recipe-bundle/awesome-recipe-image.jpg deleted file mode 100644 index 69b04ae..0000000 Binary files a/themes/gochowdown/archetypes/recipe-bundle/awesome-recipe-image.jpg and /dev/null differ diff --git a/themes/gochowdown/archetypes/recipe-bundle/index.md b/themes/gochowdown/archetypes/recipe-bundle/index.md index c230018..8deebcd 100644 --- a/themes/gochowdown/archetypes/recipe-bundle/index.md +++ b/themes/gochowdown/archetypes/recipe-bundle/index.md @@ -1,44 +1,36 @@ --- layout: recipe +title: "Template Recipe" +image: plate_pic.jpg +imagecaption: This is the alt text /and/ image caption. Do **NOT** skip! date: {{ .Date }} draft: true -title: "{{ replace .Name "-" " " | humanize | title }}" # The title of your awesome recipe -image: awesome-recipe-image.jpg # Name of image in recipe bundle -imagecredit: https://placekitten.com/600/800 # URL to image source page, website, or creator -YouTubeID: # The F2SYDXV1W1w part of https://www.youtube.com/watch?v=F2SYDXV1W1w -authorName: # Name of the recipe/article author -authorURL: # URL of their home website -sourceName: # Name of the source website -sourceURL: # Actual URL of the recipe itself -category: # The type of meal or course your recipe is about. For example: "dinner", "entree", or "dessert". -cuisine: # The region associated with your recipe. For example, "French", Mediterranean", or "American". -tags: # You don't have to have 3, feel free to have 10, 1, or none - - tag1 - - tag2 - - tag3 -yield: 8 -prepTime: 15 -cookTime: 45 + +AuthorName: KemoNine +AuthorURL: "https://culinary.kemonine.info" +inspiration: + - title: This isn't a link + - title: Link text + url: "https://domain.tld" +category: PickABroadCategeory +cuisine: PickABroadType +tags: + - tag 1 + - tag 2 +yield: 4 +prepTime: 1 hr 20 mins +cookTime: 10 mins ingredients: -- 1 16 oz. box of something -- 1 12-ounce can something else -- 3 eggs -- 1/2 cup unsalted butter -- 2 cups cheddar cheese, shredded and divided -- 1 cup mozzarella cheese, shredded -- 2 tablespoons feta cheese, crumbled -- 1 cup provolone cheese, cut into small pieces -- 1/2 cup smoked Gouda cheese, shredded -- 4 teaspoons salt, divided -- 2 teaspoons black pepper + - ingredient 1 + - ingredient 2 directions: -- Preheat oven to 350˚F/180˚C. -- In a large pot or dutch oven, cook macaroni according to package directions, salting the water with 2 teaspoons of salt. Drain and return to the warm pot. -- Add butter to warm macaroni and mix until melted. Season with the remaining salt and pepper. -- Add 1 cup of cheddar, mozzarella, provolone, Gouda, and feta cheese. Mix well. -- Add eggs and evaporated milk, mix until fully incorporated. -- Transfer to a 9x13-inch baking dish and top with the remaining cheddar cheese. -- Bake in a preheated oven for 40–45 minutes, until the top has nicely browned. + - step 1 + - step 2 + --- + +## Notes + - note 1 + - note 2 diff --git a/themes/gochowdown/layouts/notes/single.html b/themes/gochowdown/layouts/notes/single.html index a9aa3ce..89f4c5a 100644 --- a/themes/gochowdown/layouts/notes/single.html +++ b/themes/gochowdown/layouts/notes/single.html @@ -5,16 +5,15 @@
- {{ with .Params.Image }} -
- + {{ if .Params.image }} +
+
+ + {{ if .Params.imagecaption }} +

Pictured: {{ .Params.imagecaption }}

+ {{ end }} +
- {{ else }} - {{ range first 1 (.Resources.ByType "image") }} -
- -
- {{ end }} {{ end }}
@@ -29,34 +28,29 @@
+
+

Chef: + {{if .Params.authorurl }} + {{.Params.AuthorName}} + {{else}} + {{.Params.AuthorName}} + {{end}} + {{ if .Params.inspiration }} +

Inspiration & Resources

+ {{ range .Params.inspiration }} +
    + {{ if .url }} +
  • {{ .title }}
  • + {{ else }} +
  • {{ .title }}
  • + {{ end }} +
+ {{ end }} + {{ end }} + {{ with .Params.Category }}{{ partial "taxonomy/notes" . }}{{ end }} - {{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }} {{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }} -
- {{ if (or .Params.SourceName .Params.AuthorName) }} - {{ i18n "inspired" }} - {{ end }} - - {{ with .Params.SourceName }} - {{$name := .}} - {{ i18n "by" }} - {{with $.Params.SourceURL }} - {{$name}} - {{else}} - {{$name}} - {{end}} - {{ end }} - - {{with .Params.AuthorName}} - {{$name := .}} - {{ i18n "from" }} - {{with $.Params.AuthorURL }} - {{$name}} - {{else}} - {{$name}} - {{end}} - {{end}}
diff --git a/themes/gochowdown/layouts/recipes/single.html b/themes/gochowdown/layouts/recipes/single.html index d60ed1f..ec9e2a9 100644 --- a/themes/gochowdown/layouts/recipes/single.html +++ b/themes/gochowdown/layouts/recipes/single.html @@ -5,16 +5,15 @@
- {{ with .Params.Image }} -
- + {{ if .Params.image }} +
+
+ + {{ if .Params.imagecaption }} +

Pictured: {{ .Params.imagecaption }}

+ {{ end }} +
- {{ else }} - {{ range first 1 (.Resources.ByType "image") }} -
- -
- {{ end }} {{ end }}
@@ -139,36 +138,32 @@
+
+

Chef: + {{if .Params.authorurl }} + {{.Params.AuthorName}} + {{else}} + {{.Params.AuthorName}} + {{end}} + {{ if .Params.inspiration }} +

Inspiration & Resources

+ {{ range .Params.inspiration }} +
    + {{ if .url }} +
  • {{ .title }}
  • + {{ else }} +
  • {{ .title }}
  • + {{ end }} +
+ {{ end }} + {{ end }} + {{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }} {{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }} {{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }} -
- {{ if (or .Params.SourceName .Params.AuthorName) }} - {{ i18n "inspired" }} - {{ end }} - - {{ with .Params.SourceName }} - {{$name := .}} - {{ i18n "by" }} - {{with $.Params.SourceURL }} - {{$name}} - {{else}} - {{$name}} - {{end}} - {{ end }} - - {{with .Params.AuthorName}} - {{$name := .}} - {{ i18n "from" }} - {{with $.Params.AuthorURL }} - {{$name}} - {{else}} - {{$name}} - {{end}} - {{end}}
- +
{{ end }}