Merge pull request #5 from jtom38/features/new-theme

Features/new theme
This commit is contained in:
James Tombleson 2022-09-28 23:04:37 -07:00 committed by GitHub
commit 9055e0f684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 12144 additions and 115 deletions

View File

@ -3,5 +3,12 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }} date: {{ .Date }}
draft: true draft: true
tags: [] tags: []
thumbnail:
parenturl:
--- ---
## Ingredients
## Instructions
## Notes

View File

@ -1,7 +1,5 @@
# Cookbook
I have always wanted to have a digital cookbook that i can use on a tablet. I have tried several different ways to make this happen. [Hugo](https://gohugo.io/) is how this now comes together. Its all then hosted on Github.io.
# Hello Hugo If you want to see some of the other things I am working on, check out my [github page](https://github.com/jtom38)!
This is a collection of recipes that we use in the Tombleson house.
Hope you enjoy!

View File

@ -1,105 +0,0 @@
---
title: "Japanese chicken Curry"
date: 2022-06-27T12:59:10-07:00
draft: false
tags: [curry, japanese, chicken]
---
## Ingredients
- [ ] 1 ½ lb boneless, skinless chicken thighs (beef, pork, seafood, tofu, mushrooms, or more vegetables; you can increase up to 2 lbs/907 g)
- [ ] kosher/sea salt (I use Diamond Crystal; use half for table salt)
- [ ] freshly ground black pepper
- [ ] 2 carrots
- [ ] 2 onions
- [ ] 1-2 russet potatoes (2-3 yukon gold potatoes if you want to preserve the potato shape)
- [ ] ½ Tbsp ginger (grated)
- [ ] 2 cloves garlic
- [ ] 1 ½ Tbsp neutral-flavored oil (vegetable, rice bran, canola, etc)
- [ ] 4 cups [chicken stock/broth](https://www.justonecookbook.com/homemade-chicken-stock/) (if you're careful with sodium intake, you can use **water only**, or use **half stock + half water**)
- [ ] 1 apple (I used fuji apple; use as much as you like to add sweetness)
- [ ] 1 Tbsp honey
- [ ] ½ tsp kosher/sea salt (I use Diamond Crystal; use half for table salt)
- [ ] 1 package [Japanese curry roux](https://www.justonecookbook.com/japanese-curry-sauce-mix-roux/) (7-8 oz or 200-230 g; or use all of my [homemade curry roux](https://www.justonecookbook.com/how-to-make-curry-roux/))
- [ ] 1 ½ Tbsp [soy sauce](https://www.justonecookbook.com/soy-sauce/)
- [ ] 1 Tbsp ketchup
## Steps
### Prep
Discard the extra fat from the chicken and cut it into bite size pieces. Season with a little bit of salt and pepper.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-1.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-1.jpg)
Peel and cut the carrot in rolling wedges ([Rangiri](https://www.justonecookbook.com/rangiri/)) and cut the onions in wedges.Cut the potatoes into 1 ½ inch (4 cm) pieces and soak in water for 15 minutes to remove excess starch.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-2.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-2.jpg)
Cut the potatoes into 1 ½ inch (4 cm) pieces and soak in water for 15 minutes to remove excess starch.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-3.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-3.jpg)
Grate the ginger and crush the garlic.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-4.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-4.jpg)
### Start cooking
- Heat the oil in a large pot over medium heat and sauté the onions until they become translucent and tender.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-5.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-5.jpg)
- Add the ginger and garlic.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-6.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-6.jpg)
- Add the chicken and cook until it's no longer pink.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-7.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-7.jpg)
- Add the carrot and mix well to coat with oil.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-8.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-8.jpg)
- Add the chicken broth and bring it to a boil. Chicken broth contains a
different amount of salt. If you're careful with sodium intake or not
sure if your chicken stock is too salty, you can use **water only**, or use **half stock + half water**. You can always add salt at the end of cooking.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-9.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-9.jpg)
- Once boiling, using a [fine-mesh strainer](https://amzn.to/2KxVavi), [skim the scrum and fat](https://www.justonecookbook.com/how-to-skim-off-the-scum-and-fat-from-soups-and-stocks/) from the surface of the broth.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-10.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-10.jpg)
- Peel the apple and grate it (use as much as you like to add sweetness). I've been using [this grater](https://amzn.to/3szp2se) and love it.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-11.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-11.jpg)
- Add the honey and salt and simmer uncovered for 20 minutes, stirring occasionally.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-12.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-12.jpg)
- Add the potatoes and cook until the potatoes are tender, about 15 minutes.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-13.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-13.jpg)
- Turn off the heat. If you use the store-bought curry roux, put 1-2 blocks of roux in a ladle and slowly let it dissolve with a spoon or chopsticks.
Continue with the rest of the blocks.
- If you're using homemade curry roux, scoop a ladleful or two of cooking
liquid from the curry broth and add it into the curry paste in a
saucepan. Add more cooking liquid if necessary and mix well until its
smooth.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-14.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-14.jpg)
- Add the roux mixture back into the soup and stir to combine.
![https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-15.jpg](https://v1.nitrocdn.com/KQYMGOLIdXGmoAcyJsPOrQDKktgCbwtG/assets/static/optimized/rev-a960d32/wp-content/uploads/2013/03/Simple-Chicken-Curry-15.jpg)
### To Season the Curry
- Add soy sauce and ketchup (and any other condiments you're adding - see the blog post). Simmer uncovered on low heat, stirring occasionally, until
the curry becomes thick.

View File

@ -1,12 +1,13 @@
--- ---
title: "Chicken Tikka Masala" title: "Chicken Tikka Masala"
subtitle:
date: 2022-06-27T11:30:26-07:00 date: 2022-06-27T11:30:26-07:00
draft: false draft: false
tags: [dinner, bon apptite] tags: [Dinner, Bon Apptite Recipie, Indian]
thumbnail:
parenturl:
--- ---
![](./../../images/ba-tikka-masala-2_jpg.jpg)
## Ingredients ## Ingredients
Makes 6 servings Makes 6 servings

View File

@ -2,8 +2,12 @@
title: "Drop Biscuits" title: "Drop Biscuits"
date: 2022-06-27T14:17:21-07:00 date: 2022-06-27T14:17:21-07:00
draft: false draft: false
tags: ["Breakfast", "Sides"]
thumbnail:
parenturl: https://www.seriouseats.com/recipes/2014/06/quick-easy-drop-biscuits-recipe.html
--- ---
## Ingredients ## Ingredients
- 4 ounces cold unsalted butter (1 stick; 115g), cut into 1/4-inch pieces and refrigerated - 4 ounces cold unsalted butter (1 stick; 115g), cut into 1/4-inch pieces and refrigerated
@ -17,7 +21,7 @@ draft: false
1. Preheat oven to 400°F (200°C) and line a baking sheet with parchment paper; alternatively, grease the baking sheet with butter. 1. Preheat oven to 400°F (200°C) and line a baking sheet with parchment paper; alternatively, grease the baking sheet with butter.
1. In a large bowl, whisk together flour, baking powder, and salt. 1. In a large bowl, whisk together flour, baking powder, and salt.
1. Toss butter into dry ingredients until coated with flour. Working quickly, using your fingers or a pastry blender, rub or cut butter into flour until it resembles coarse meal. 1. Toss butter into dry ingredients until coated with flour. Working quickly, using your fingers or a pastry blender, rub or cut butter into flour until it resembles coarse meal.
1. Alternatively, add flour mixture and butter to the bowl of a food processor and pulse 2 to 3 times to form pea-sized pieces; transfer to a large bowl. 1. Alternatively, add flour mixture and butter to the bowl of a food processor and pulse 2 to 3 times to form pea-sized pieces; transfer to a large bowl.
1. Add milk and stir with a fork until the mixture just comes together into a slightly sticky, shaggy dough. 1. Add milk and stir with a fork until the mixture just comes together into a slightly sticky, shaggy dough.
1. For small biscuits, use a teaspoon or a small cookie scoop to mound walnut-sized balls of dough onto prepared baking sheet. For large biscuits, use a 1/4-cup measuring cup to mound balls of dough onto prepared baking sheet. 1. For small biscuits, use a teaspoon or a small cookie scoop to mound walnut-sized balls of dough onto prepared baking sheet. For large biscuits, use a 1/4-cup measuring cup to mound balls of dough onto prepared baking sheet.
1. Bake biscuits until golden brown, about 15 minutes for small biscuits and 20 minutes for large ones. Let cool slightly, then transfer to a wire rack. Serve warm or at room temperature. 1. Bake biscuits until golden brown, about 15 minutes for small biscuits and 20 minutes for large ones. Let cool slightly, then transfer to a wire rack. Serve warm or at room temperature.

View File

@ -2,9 +2,15 @@
title: "Instant Pot Pinto Beans" title: "Instant Pot Pinto Beans"
date: 2022-06-27T14:12:49-07:00 date: 2022-06-27T14:12:49-07:00
draft: false draft: false
tags: ["side", "beans"] tags: ["Side", "Beans", "Pressure Cooker"]
thumbnail:
parenturl: https://www.apinchofhealthy.com/instant-pot-pinto-beans/
--- ---
## Notes
- This one takes around an 1:30 to cook and release the pressue. Plan ahead!
## Ingredients ## Ingredients
- 1 pound dry pinto beans - 1 pound dry pinto beans

View File

@ -0,0 +1,58 @@
---
title: "Japanese Chicken Curry"
date: 2022-06-27T12:59:10-07:00
draft: false
tags: [Curry, Japanese, Chicken]
thumbnail:
parenturl: https://www.justonecookbook.com/simple-chicken-curry/#wprm-recipe-container-59001
---
## Ingredients
- [ ] 1 1/2 lb boneless, skinless chicken thighs (beef, pork, seafood, tofu, mushrooms, or more vegetables; you can increase up to 2 lbs/907 g)
- [ ] kosher/sea salt (I use Diamond Crystal; use half for table salt)
- [ ] freshly ground black pepper
- [ ] 2 carrots
- [ ] 2 onions
- [ ] 1-2 russet potatoes (2-3 yukon gold potatoes if you want to preserve the potato shape)
- [ ] 1/2 Tbsp ginger (grated)
- [ ] 2 cloves garlic
- [ ] 1 1/2 Tbsp neutral-flavored oil (vegetable, rice bran, canola, etc)
- [ ] 4 cups [chicken stock/broth](https://www.justonecookbook.com/homemade-chicken-stock/) (if you're careful with sodium intake, you can use **water only**, or use **half stock + half water**)
- [ ] 1 apple (I used fuji apple; use as much as you like to add sweetness)
- [ ] 1 Tbsp honey
- [ ] 1/2 tsp kosher/sea salt (I use Diamond Crystal; use half for table salt)
- [ ] 1 package [Japanese curry roux](https://www.justonecookbook.com/japanese-curry-sauce-mix-roux/) (7-8 oz or 200-230 g; or use all of my [homemade curry roux](https://www.justonecookbook.com/how-to-make-curry-roux/))
- [ ] 1 1/2 Tbsp [soy sauce](https://www.justonecookbook.com/soy-sauce/)
- [ ] 1 Tbsp ketchup
## Instructions
### Prep
Discard the extra fat from the chicken and cut it into bite size pieces. Season with a little bit of salt and pepper.
- Peel and cut the carrot in rolling wedges ([Rangiri](https://www.justonecookbook.com/rangiri/)) and cut the onions in wedges. Cut the potatoes into 1 ½ inch (4 cm) pieces and soak in water for 15 minutes to remove excess starch.
- Cut the potatoes into 1 1/2 inch (4 cm) pieces and soak in water for 15 minutes to remove excess starch.
- Grate the ginger and crush the garlic.
### Start cooking
- Heat the oil in a large pot over medium heat and sauté the onions until they become translucent and tender.
- Add the ginger and garlic.
- Add the chicken and cook until it's no longer pink.
- Add the carrot and mix well to coat with oil.
- Add the chicken broth and bring it to a boil. Chicken broth contains a
different amount of salt. If you're careful with sodium intake or not sure if your chicken stock is too salty, you can use **water only**, or use **half stock + half water**. You can always add salt at the end of cooking.
- Once boiling, using a [fine-mesh strainer](https://amzn.to/2KxVavi), [skim the scrum and fat](https://www.justonecookbook.com/how-to-skim-off-the-scum-and-fat-from-soups-and-stocks/) from the surface of the broth.
- Peel the apple and grate it (use as much as you like to add sweetness). I've been using [this grater](https://amzn.to/3szp2se) and love it.
- Add the honey and salt and simmer uncovered for 20 minutes, stirring occasionally.
- Add the potatoes and cook until the potatoes are tender, about 15 minutes.
- Turn off the heat. If you use the store-bought curry roux, put 1-2 blocks of roux in a ladle and slowly let it dissolve with a spoon or chopsticks. Continue with the rest of the blocks.
- If you're using homemade curry roux, scoop a ladleful or two of cooking liquid from the curry broth and add it into the curry paste in a saucepan. Add more cooking liquid if necessary and mix well until its smooth.
- Add the roux mixture back into the soup and stir to combine.
### To Season the Curry
- Add soy sauce and ketchup (and any other condiments you're adding - see the blog post). Simmer uncovered on low heat, stirring occasionally, until the curry becomes thick.

View File

@ -0,0 +1,45 @@
---
title: "Pasta e Fagioli Soup"
subtitle: Fantastic winter soup
date: 2022-06-28T09:21:26-07:00
draft: false
tags: [Soup, Pasta, Itilian]
thumbnail: ./thumbnail.png
parenturl: https://www.savingdessert.com/pasta-e-fagioli-soup-recipe/
---
## Ingredients
- 1 tablespoon olive oil plus extra for drizzling
- 1 pound Italian sausage casings removed
- 3 carrots peeled and chopped
- 2 ribs celery chopped
- 1 onion chopped
- 4 garlic cloves minced
- ¼ teaspoon salt
- ½ teaspoon Italian seasoning
- 1 teaspoon dried oregano
- ¼ teaspoon crushed red pepper flakes
- 28 ounce can peeled tomatoes chopped, juice reserved
- Parmesan rind
- 15 ½ ounce can cannellini beans rinsed and drained
- 4 cups low-sodium chicken broth divided
- 1 cup water
- 6 ounces ditalini or other small pasta
- 2 cups sliced baby spinach leaves
- Salt and pepper to taste
- Chopped fresh parsley leaves for garnish
- 2 ounces grated Parmesan cheese for garnish
## Instructions
- Heat olive oil in a large Dutch oven over medium until shimmering. Add the
sausage and cook, breaking the sausage into chunks. Cook until lightly
browned, about 5 minutes.
- Add the carrots, celery and onion. Cook, stirring occasionally until the
vegetables are softened, about 5 minutes.
- Add the garlic, salt, Italian seasoning, oregano and red pepper flakes. Cook, stirring constantly until fragrant, about 1 minute.
- Add the tomatoes and juice; stir to combine. Add the Parmesan rind, beans and 1 cup of the broth. Bring the mixture to a boil, reduce the heat to low and simmer for 10 minutes.
- Add the remaining chicken broth and 1 cup of water. Increase the heat to medium-high and bring the soup to a boil. Add the pasta and cook until just tender, about 10 minutes, stirring frequently.
- Discard the cheese rind. Turn off the heat, add the spinach to the pot and stir until wilted. Check seasoning and add salt and pepper to taste.
- Ladle soup into individual bowls and garnish with parsley, grated Parmesan and a drizzle of olive oil if desired.

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 KiB

BIN
themes/.DS_Store vendored Normal file

Binary file not shown.

BIN
themes/hugo-bulma-cookbook/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,6 @@
{{ partial "header.html" . }}
{{ partial "hero.html" . }}
<div class="content">
{{ .Content }}
</div>

View File

@ -0,0 +1,39 @@
{{ partial "header.html" . }}
{{ partial "hero.html" . }}
<div class="container">
{{ range .RegularPages }}
<div class="card">
<div class="card-content">
<div class="media">
<div class="media-left">
<figure class="image is-128x128">
{{ with .Params.listthumbnail }}
<img src="{{ . }}" alt="Placeholder image">
{{ end }}
</figure>
</div>
<div class="media-content">
<p class="title is-4">
<a href="{{ .Permalink }}"> {{ .Title }}</a>
</p>
<p class="subtitle is-6">{{ .Params.subtitle }}</p>
{{ with .Params.tags }}
<ul id="tags">
{{ range . }}
<span class="tag">
<a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
</ul>
{{ end }}
</div>
</div>
</div>
</div>
{{ end }}
</div>
{{ partial "footer.html" . }}

View File

@ -0,0 +1,26 @@
{{ partial "header.html" . }}
{{ partial "hero.html" . }}
<div class="container">
<img src="{{ .Params.thumbnail }}" />
<div class="content">
{{ .Content }}
</div>
<h4 class="subtitle" id="date"> Posted: {{ .Date.Format "Mon Jan 2, 2006" }} </h4>
<h5 class="subtitle" id="wordcount"> Word Count: {{ .WordCount }} Words </h5>
<br>
<h2 class="title">Tags</h2>
{{ with .Params.tags }}
{{ range . }}
<span class="tag">
<a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
{{ end }}
</div>
{{ partial "footer.html" . }}

View File

@ -0,0 +1,11 @@
{{ partial "header.html" . }}
{{ partial "hero.html" . }}
<main>
<div>
<!-- ranges through each of the content files associated with a particular taxonomy term and renders the summary.html content view -->
{{ range .Pages }}
{{ .Render "tags"}}
{{ end }}
</div>
</main>

View File

@ -0,0 +1,3 @@
footer part
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="{{ .Page.Language | default "en" }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/bulma-prefers-dark" />
<script>
document.addEventListener('DOMContentLoaded', () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
// Add a click event on each of them
$navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
});
</script>
<title>{{ .Title }}</title>
</head>
<body>
{{ partial "navbar" . }}

View File

@ -0,0 +1,6 @@
<section class="hero is-primary">
<div class="hero-body">
<h1 class="title">{{ .Title }}</h1>
<p class="subtitle">{{ .Params.subtitle }}</p>
</div>
</section>

View File

@ -0,0 +1,20 @@
<nav class="navbar is-primary" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample" >
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/recipies">Recipies</a>
<a class="navbar-item" href="/tags">Tags</a>
<a class="navbar-item" href="/recipies/index.xml">RSS Feed</a>
</div>
</div>
</nav>

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
# theme.toml template for a Hugo theme
# See https://github.com/spf13/hugoThemes#themetoml for an example
name = "cookbook"
license = "MIT"
licenselink = "https://github.com/jtom38/hugo-bulma-cookbook/blob/master/LICENSE.md"
description = "Minimal cookbook template for Hugo based on Bulma CSS."
#homepage = "https://github.com/matcornic/hugo-theme-learn/"
#repo = "https://github.com/matcornic/hugo-theme-learn"
tags = ["documentation", "grav", "learn", "doc", "search"]
features = ["documentation", "menu", "nested sections", "search", "mermaid"]
min_version = 0.25
[author]
name = "James Tombleson"
homepage = "https://github.com/jtom38/hugo-bulma-cookbook"