import example site from theme, add 'notes' taxonomy/section/etc to the theme -- aiming for general 'notebook' type of cookbook beyond 'brain dump of recipes' for this site

This commit is contained in:
KemoNine 2022-12-03 11:41:20 -05:00
parent 53aa829876
commit d89d041d94
22 changed files with 335 additions and 32 deletions

View file

@ -1,3 +1,57 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
baseURL = "https://culinary.kemonine.info"
disablePathToLower = false
languageCode = "en-us"
title = "KemoNine's Culinary Notebook"
theme = "gochowdown"
defaultcontentlanguage = "en"
paginate = 20
canonifyurls = true
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
pygmentsOptions = "linenos=table"
[permalinks]
posts = "/posts/:year/:month/:title"
[params]
author = "KemoNine"
description = "a confused culinary notebook"
keywords = "recipes"
favicon_32 = "/images/favicon-32x32.png"
favicon_16 = "/images/favicon-16x16.png"
hidecredits = false
hidecopyright = false
showNavTitle = true
custom_css = [ "style.css" ]
#[[menu.main]]
#name = "Home"
#weight = 1
#url = "/"
[[menu.main]]
name = "By Category"
weight = 20
url = "/category/"
[[menu.main]]
name = "By Cuisine"
weight = 30
url = "/cuisine/"
[[menu.main]]
name = "By Tag"
weight = 40
url = "/tags/"
[[menu.main]]
name = "Notes"
weight = 99
url = "/notes/"
[taxonomies]
category = "category"
cusine = "cuisine"
tag = "tags"
note = "notes"

0
content/_index.md Normal file
View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 KiB

View file

@ -0,0 +1,21 @@
---
layout: recipe
title: "Graham Cracker Crust"
image: graham-cracker-crust.jpg
imagecredit: https://flic.kr/p/atxu75
ingredients:
- 2 cups graham cracker crumbs
- 6 tbs butter (melted)
- 1/3 cup white sugar
- 1 tsp cinnamon
directions:
- pulse graham cracker in food processor or use muddler to crumb in bowl
- combine melted butter, graham cracker crumbs, sugar, and cinnamon in a bowl
- press into pan, forming into crust shape
---
A simple graham cracker crust, perfect for cheesecakes or tarts.

View file

@ -0,0 +1,22 @@
---
layout: recipe
title: "Red Berry Dessert Topping"
image: red-berry-topping.jpg
imagecredit: https://flic.kr/p/9kczzP
ingredients:
- 1/2 cup raspberries
- 1/2 cup strawberries
- 1/4 white sugar
- 1 squirt honey
directions:
- Dice berries
- Combine all ingredients
- Let rest for 15 mins
---
A simple mash of berries, perfect for a tart or top of cheesecake.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -0,0 +1,27 @@
---
layout: recipe
title: "Vanilla Custard Filling"
image: vanilla-custard.jpg
imagecredit: https://flic.kr/p/99yJqV
ingredients:
- 1/2 cup sugar
- 1/4 cup all-purpose flour
- 1/2 teaspoon salt
- 2 cups milk
- 2 egg yolks, lightly beaten
- 2 teaspoons vanilla extract
directions:
- In a small saucepan, combine the sugar, flour and salt. Stir in milk until smooth.
- Cook and stir over medium-high heat until thickened and bubbly.
- Reduce heat; cook and stir 2 minutes longer.
- Remove from the heat. Stir a small amount of hot filling into egg yolks; return all to the pan.
- Bring to a gentle boil, stirring constantly; cook and stir 2 minutes longer.
- Remove from the heat. Gently stir in vanilla.
---
A simple vanilla custard filling, useful for tarts (or alone by itself in a bowl).

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

@ -0,0 +1,22 @@
---
layout: notes
title: "Classic Lasagna"
image: noun_playbook_595109.png
imagecredit:
date: 2018-01-02
authorName: Terri
authorURL: www.greatgrubdelicioustreats.com
sourceName: "Great Grub, Delicious Treats"
sourceURL: http://www.greatgrubdelicioustreats.com/classic-lasagna/
category: notes
notes:
- Prep
- Test
tags:
- Italian
- family
- Notes
---
You might need a bit more cottage or ricotta cheese, especially if splitting between smaller pans. Also, you will only get two levels deep if you don't have a really deep pan. Our contribution to this recipe comes from Ashley's mother, which is adding a package of spicy Italian sausage to give some additional flavor.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -0,0 +1,44 @@
---
layout: recipe
title: "Best Big, Fat, Chewy Chocolate Chip Cookie"
image: best-big-fat-chewy-chocolate-chip-cookie.jpg
imagecredit: http://allrecipes.com/recipe/25037/best-big-fat-chewy-chocolate-chip-cookie/
date: 2017-03-16
authorName: Elizabeth BH
authorURL: http://allrecipes.com/cook/183690/made-it/
sourceName: All Recipes
sourceURL: http://allrecipes.com/recipe/25037/best-big-fat-chewy-chocolate-chip-cookie/
category: Dessert
tags:
- chocolate
- cookies
yield: 7
prepTime: 15
cookTime: 15
ingredients:
- 2 cups all-purpose flour
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 3/4 cup unsalted butter, melted
- 1 cup packed brown sugar
- 1/2 cup white sugar
- 1 tablespoon vanilla extract
- 1 egg
- 1 egg yolk
- 2 cups semisweet chocolate chips
directions:
- Preheat the oven to 325 degrees F (165 degrees C).
- Grease cookie sheets or line with parchment paper.
- Sift together the flour, baking soda and salt; set aside.
- In a medium bowl, cream together the melted butter, brown sugar and white sugar until well blended.
- Beat in the vanilla, egg, and egg yolk until light and creamy.
- Mix in the sifted ingredients until just blended.
- Stir in the chocolate chips by hand using a wooden spoon.
- Drop cookie dough 1/4 cup at a time onto the prepared cookie sheets. Cookies should be about 3 inches apart.
- Bake for 15 to 17 minutes in the preheated oven, or until the edges are lightly toasted.
- Cool on baking sheets for a few minutes before transferring to wire racks to cool completely.
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View file

@ -0,0 +1,37 @@
---
layout: recipe
title: "Easy Pancakes"
image: easy-pancakes.jpg
imagecredit: http://allrecipes.com/recipe/45396/easy-pancakes/
date: 2017-03-16
authorName: Sharon Holt
authorURL:
sourceName: All Recipes
sourceURL: http://allrecipes.com/recipe/45396/easy-pancakes/
category: Breakfast
cuisine: american
tags:
- Breakfast
yield: 4
prepTime: 5
cookTime: 10
ingredients:
- All-purpose flour 1 cup
- White sugar 2 tablespoons
- Baking powder 2 teaspoons
- Salt 1 teaspoon
- Egg, beaten 1
- Milk 1 cup
- Vegetable oil 2 tablespoons
directions:
- In a large bowl, mix flour, sugar, baking powder and salt.
- Make a well in the center, and pour in milk, egg and oil.
- Mix until smooth.
- Heat a lightly oiled griddle or frying pan over medium high heat.
- Pour or scoop the batter onto the griddle, using approximately 1/4 cup for each pancake.
- Brown on both sides and serve hot.
---

View file

@ -0,0 +1,35 @@
---
layout: recipe
title: "Red Berry Tart"
image: red-berry-tart.jpg
imagecredit:
date: 2017-09-17
YouTubeID:
authorName:
authorURL:
sourceName:
sourceURL:
category: Dessert
tags:
- Dessert
- fruit
yield: 4
prepTime:
cookTime:
directions:
- Bake the crust and let it cool
- Make the custard, pour into crust
- Make the red berry topping, spread over the top
components:
- Graham Cracker Crust
- Vanilla Custard Filling
- Red Berry Dessert Topping
---
A favorite when I go to BBQs (parties, hackathons, your folks' place), this red berry tart is fairly easy to make and packs a huge wow factor.

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

0
layouts/.gitkeep Normal file
View file

1
static/style.css Normal file
View file

@ -0,0 +1 @@
/* Add custom styles here, as needed */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,000 KiB

View file

@ -0,0 +1,64 @@
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<div class="container" itemscope itemtype="http://schema.org/Recipe">
<!-- call up the image and image credit link -->
{{ with .Params.Image }}
<div class="xs-p2">
<img itemprop="image" src="{{ . }}" />
</div>
{{ else }}
{{ range first 1 (.Resources.ByType "image") }}
<div class="xs-p2">
<img itemprop="image" src="{{$.Site.BaseURL}}{{ .RelPermalink }}" />
</div>
{{ end }}
{{ end }}
<article class="post-content px2">
<!-- call up the main recipe title and content -->
<header class="post-header">
<h1 class="post-title center m1 sm-mt3" itemprop="name">{{ .Title }}</h1>
</header>
<div class="px2 mt3 clearfix">
<div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div>
</div>
<br />
{{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }}
{{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }}
{{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
<div class="recipe-source">
{{ if (or .Params.SourceName .Params.AuthorName) }}
{{ i18n "inspired" }}
{{ end }}
{{ with .Params.SourceName }}
{{$name := .}}
{{ i18n "by" }}
{{with $.Params.SourceURL }}
<a href="{{.}}">{{$name}}</a>
{{else}}
{{$name}}
{{end}}
{{ end }}
{{with .Params.AuthorName}}
{{$name := .}}
{{ i18n "from" }}
{{with $.Params.AuthorURL }}
<a href="{{.}}">{{$name}}</a>
{{else}}
{{$name}}
{{end}}
{{end}}
</div>
</article>
</div>
{{ end }}

View file

@ -21,33 +21,4 @@
{{ end }}
</div>
</div>
<div class="sell bg-blue-tile mt4">
<div class="clearfix white px2">
<div class="sm-col md-col-6 px2 md-px4 py2 md-py4">
<h1>{{ i18n "for-the-home-chef" }}</h1>
<p>{{ i18n "save-recipes" }}</p>
<p>{{ i18n "create-beautiful" }}</p>
<p>{{ i18n "use-recipes" }} ({{ i18n "our-favorite" }} <a href="http://www.paprikaapp.com/" target="_blank">Paprika</a>)</p>
<p>{{ i18n "share" }} (<a href="https://dev.twitter.com/cards/overview">Twitter cards</a>)</p>
</div>
<div class="sm-col md-col-6 px2 md-px4 py2 md-py4">
<h1>{{ i18n "for-the-developer" }}</h1>
<p>{{ i18n "markdown-hugo" }}</p>
<p>{{ i18n "recipes-stored" }}</p>
<p>{{ i18n "open-source" }} (<a href="https://github.com/seanlane/gochowdown">{{ i18n "contribute" }}?</a>)</p>
</div>
</div>
<div class="clearfix white center">
<a href="https://github.com/seanlane/gochowdown" class="button button-big button-with-icon button-outline mb4 h2">
<svg class="js-geomicon geomicon" width="30" data-icon="github" viewBox="0 0 32 32" style="fill:currentcolor"><title>github icon</title><path d="M0 18 C0 12 3 10 3 9 C2.5 7 2.5 4 3 3 C6 3 9 5 10 6 C12 5 14 5 16 5 C18 5 20 5 22 6 C23 5 26 3 29 3 C29.5 4 29.5 7 29 9 C29 10 32 12 32 18 C32 25 30 30 16 30 C2 30 0 25 0 18 M3 20 C3 24 4 28 16 28 C28 28 29 24 29 20 C29 16 28 14 16 14 C4 14 3 16 3 20 M8 21 A1.5 2.5 0 0 0 13 21 A1.5 2.5 0 0 0 8 21 M24 21 A1.5 2.5 0 0 0 19 21 A1.5 2.5 0 0 0 24 21 z"></path></svg>
View on GitHub</a>
</div>
</div>
<div class="container mt4 mb4">
<div class="sm-col-6 mx-auto px3 sm-px4">
{{ .Content }}
</div>
</div>
</div>

View file

@ -0,0 +1,5 @@
<div class="categories">
<p class="clearfix">{{ i18n "cuisine"}}:
<a href="{{ ( printf "notes/%s/" ( . | urlize ) ) | relLangURL }}"><span itemprop="recipeCuisine">{{ . | humanize }}</span></a>
</p>
</div>