Remove extra front matter fields

This commit is contained in:
Jake Runyan 2026-02-12 00:12:20 -08:00
parent 4cf3b526a1
commit 6b7155e2dd
41 changed files with 60 additions and 151 deletions

View File

@ -10,11 +10,8 @@ date: "YYYY-MM-DD"
lastUpdated: "YYYY-MM-DD"
category: "mains" # free-form string (e.g. "mains", "soups", "desserts")
tags: ["tag1", "tag2"] # free-form strings (e.g. ["italian", "chicken"])
dietary: ["gluten-free"] # free-form strings
cookTime: 45 # minutes
prepTime: 20 # minutes
totalTime: 65 # minutes
difficulty: "easy" # easy | medium | hard
servings: 4
author: "PWS" # ID from public/authors.json
description: "Short description for SEO and previews"

View File

@ -45,27 +45,11 @@ export default function RecipeCard({ recipe }: RecipeCardProps) {
</p>
<div className="flex items-center gap-3 text-xs text-gray-500 dark:text-gray-500" role="list" aria-label="Recipe details">
<span className="flex items-center gap-1" role="listitem">
<span aria-hidden="true"></span>
<span className="sr-only">Total time: </span>
{recipe.totalTime} min
</span>
<span className="flex items-center gap-1" role="listitem">
<span aria-hidden="true">👥</span>
<span className="sr-only">Servings: </span>
{recipe.servings} servings
</span>
<span
className="flex items-center gap-1"
role="listitem"
aria-label={`Difficulty: ${recipe.difficulty}`}
>
<span aria-hidden="true">
{recipe.difficulty === 'easy' && '⭐'}
{recipe.difficulty === 'medium' && '⭐⭐'}
{recipe.difficulty === 'hard' && '⭐⭐⭐'}
</span>
</span>
</div>
<div className="flex flex-wrap gap-1" role="list" aria-label="Recipe tags">

View File

@ -73,18 +73,10 @@ export default function RecipePageClient({ recipe, sections }: RecipePageClientP
<span className="font-medium">Cook:</span>
<span>{recipe.cookTime} min</span>
</div>
<div className="flex items-center gap-2" role="listitem">
<span className="font-medium">Total:</span>
<span>{recipe.totalTime} min</span>
</div>
<div className="flex items-center gap-2" role="listitem">
<span className="font-medium">Servings:</span>
<span>{recipe.servings}</span>
</div>
<div className="flex items-center gap-2" role="listitem">
<span className="font-medium">Difficulty:</span>
<span className="capitalize">{recipe.difficulty}</span>
</div>
</div>
<div className="flex flex-wrap gap-2" role="list" aria-label="Recipe tags">

View File

@ -14,11 +14,8 @@ export interface RecipeMetadata {
lastUpdated: string;
category: string;
tags: string[];
dietary: string[];
cookTime: number;
prepTime: number;
totalTime: number;
difficulty: string;
servings: number;
author: string;
description: string;

View File

@ -45,11 +45,8 @@ date: "YYYY-MM-DD"
lastUpdated: "YYYY-MM-DD"
category: "mains"
tags: ["tag1", "tag2", "tag3"]
dietary: ["vegetarian", "gluten-free"]
cookTime: 45
prepTime: 20
totalTime: 65
difficulty: "easy"
servings: 4
author: "Author Name"
description: "Short description for SEO and previews"
@ -66,11 +63,8 @@ displayPhoto: "./assets/hero.jpg"
- `lastUpdated` - Last modification date (YYYY-MM-DD)
- `category` - Main category (free-form string, e.g. "mains", "soups")
- `tags` - Array of tags (free-form strings, e.g. ["italian", "chicken"])
- `dietary` - Array of dietary tags (free-form strings, e.g. ["gluten-free"])
- `cookTime` - Active cooking time in minutes
- `prepTime` - Preparation time in minutes
- `totalTime` - Total time in minutes
- `difficulty` - Difficulty level: easy, medium, or hard
- `servings` - Number of servings
- `author` - Author ID (references `public/authors.json`)
- `description` - Brief description for SEO and cards
@ -78,7 +72,7 @@ displayPhoto: "./assets/hero.jpg"
- `display` - Boolean to control visibility (set to false to hide recipe)
- `displayPhoto` - Relative path to display photo (e.g., "./assets/hero.jpg")
**Note:** Author IDs must match entries in `public/authors.json`. Categories, tags, dietary, and difficulty are free-form strings — there is no taxonomy registry file.
**Note:** Author IDs must match entries in `public/authors.json`. Categories and tags are free-form strings — there is no taxonomy registry file.
#### Content Sections
@ -100,11 +94,8 @@ date: "2026-02-08"
lastUpdated: "2026-02-08"
category: "mains"
tags: ["italian", "chicken"]
dietary: ["gluten-free-option"]
cookTime: 45
prepTime: 20
totalTime: 65
difficulty: "medium"
servings: 4
author: "PWS"
description: "Short description for SEO and previews"
@ -190,11 +181,6 @@ Choose from these categories:
- **Cooking Method**: baking, grilling, slow-cooker, instant-pot
- **Speed**: quick-meals, one-pot, make-ahead, no-cook
### Difficulty Levels
- **easy**: Beginner-friendly, simple techniques, common ingredients
- **medium**: Some cooking experience needed, multiple steps
- **hard**: Advanced techniques, precise timing, specialty equipment
## Adding New Recipes
1. Create recipe folder: `public/recipes/[category]/recipe-name/`

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "baking"
tags: ["baking"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Just like grandma used to make?"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "cajun"
tags: ["cajun"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A dish with Cajun and Creole roots made with chicken, sausage, and shrimp."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "chinese"
tags: ["chinese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Broccoli Beef! Just like the restaurant!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "chinese"
tags: ["chinese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "The classic egg drop soup. Tastes pretty similar to the store, and super easy to make!"
@ -61,7 +58,7 @@ Also give the cooking wine addition a try (thanks, mom)
- It's pretty good regardless of the exact ratios. Also I'm a fan of excess pepper when sick.
### Ribbons
- Stir SLOWLY when adding in the egg for the best results. Stirring quickly yields a pretty homogenous result.
- Stir SLOWLY when adding in the egg for the best results. Stirring quickly yields a pretty homogenous result.
Also give the cooking wine addition a try (thanks, mom)
## References

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "chinese"
tags: ["chinese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A delicious fusion-style eggroll that can be fried as an eggroll or adapted into wontons."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "drinks"
tags: ["drinks"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A wonderfully fruity, sweet, and versatile syrup perfect for adding a peachy twist to cocktails, mocktails, iced tea, and lemonade."

View File

@ -5,11 +5,8 @@ date: "2026-02-05"
lastUpdated: "2026-02-05"
category: "mains"
tags: ["italian", "chicken", "comfort-food", "family-friendly"]
dietary: ["gluten-free-option"]
cookTime: 45
prepTime: 20
totalTime: 65
difficulty: "medium"
servings: 4
author: "pws"
description: "A classic Italian-American dish featuring crispy breaded chicken topped with marinara sauce and melted cheese."

View File

@ -5,11 +5,8 @@ date: "2026-02-08"
lastUpdated: "2026-02-08"
category: "desserts"
tags: ["cookies", "chocolate", "baking", "dessert", "american"]
dietary: ["vegetarian"]
cookTime: 12
prepTime: 15
totalTime: 27
difficulty: "easy"
servings: 24
author: "pws"
description: "Classic chewy chocolate chip cookies with crispy edges and gooey centers, loaded with chocolate chips."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "indian"
tags: ["indian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A neutral, lentil dish that complements any other curry or gravy. This recipe uses brown lentils (Whole Masoor Dal), as well as their hulled (red dal) and split (split red dal) forms. The whole dal retain their consistency, and the hulled and split dal thicken the gravy. Both are recommended to be used. Some substitutes for the whole dal can be done, I have used whole mung beans (Green Moong Dal) as a replacement, and any split dal can be used instead of the split red dal."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "indian"
tags: ["indian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A classic chickpea recipe with a rich, tomato-based gravy."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "indian"
tags: ["indian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A classic chicken recipe with a rich, tomato-based gravy."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "indian"
tags: ["indian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A great vegetarian option with a lot of fiber."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "italian"
tags: ["italian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Classic chicken parm can be made with panko breadcrumbs or homemade ones."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "italian"
tags: ["italian"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A recipe similar to the vodka pasta at Fiorella Polk."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "japanese"
tags: ["japanese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Great on any kind of ramen!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "japanese"
tags: ["japanese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "The classic way to make Golden Curry packets into a rich beef stew."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "japanese"
tags: ["japanese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A variant of the Golden Curry Beef recipe, this version uses chicken instead of beef, and coconut cream instead of beef stock for a Thai curry flavor."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A classic French dish made with beef braised in red wine, often served with mushrooms and pearl onions."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A rich and flavorful Mexican stew that can be enjoyed as a comforting dish or in delicious tacos."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Happy Thanksgiving!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Super simple! This recipe entry is more or less just a formality."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Great chicken on a recommendation from a friend!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Juicy and smoky slow-cooked ribs for your grill to bless you with."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "meat"
tags: ["meat"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A great gravy recipe for Thanksgiving dinner!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "mexican"
tags: ["mexican"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Classic Mexican street corn featuring grilled corn on the cob slathered in a tangy, creamy sauce and topped with cotija cheese, chili powder, and cilantro."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "mexican"
tags: ["mexican"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A cool, creamy, and spicy Agua Fresca thats perfect over ice."

View File

@ -0,0 +1,58 @@
---
title: "Pinto Beans"
slug: "pinto-beans"
date: "2026-02-11"
lastUpdated: "2026-02-10"
category: "mexican"
tags: ["mexican"]
cookTime: 0
prepTime: 0
servings: 4
author: "pws"
description: "A cool, creamy, and spicy Agua Fresca thats perfect over ice."
featured: false
display: true
displayPhoto: ""
---
# Horchata
A cool, creamy, and spicy Agua Fresca thats perfect over ice.
## Photos
A cool, creamy, and spicy Agua Fresca thats perfect over ice.
## Ingredients
- 1 cup uncooked white rice
- 2 cinnamon sticks
- 12 oz can evaporated milk
- 12 oz can sweetened condensed milk
- 8 cups warm water, divided
- Sugar to taste
- Ground cinnamon, for garnish (optional)
- 1/2 teaspoon vanilla extract (optional)
## Instructions
1. Rinse the **rice** under cold water. In a bowl, combine **rice**, **cinnamon sticks**, and 4 cups of **warm water**. Cover and refrigerate at least 4 hours or overnight.
2. Remove most of the **cinnamon sticks**, leaving a few small pieces.
3. Blend the soaked mixture in two batches until very smooth, about 34 minutes per batch.
4. Pour through a finemesh strainer or cheesecloth into a pitcher, pressing on the solids to extract as much liquid as possible. Repeat with the remaining batch.
5. Stir in the **evaporated milk**, **sweetened condensed milk**, **vanilla** (if using), and the remaining 4 cups **water**. Adjust sweetness with **sugar** to taste.
6. Chill thoroughly, then stir and serve over ice. Garnish with **ground cinnamon**, if desired.
Heed the instructions and blend in batches. Water easily escapes from the blender or food processor and this stuff gets everywhere.
## Notes
### Soaking
- It is worth the time to soak the cinnamon and rice, helping you pull out more flavor and end with a product that is less lightly flavored water and more of a thicker drink.
### Blending
- Heed the instructions and blend in batches. Water easily escapes from the blender or food processor and this stuff gets everywhere.
## References
- [Traditional Mexican Horchata](https://www.muydelish.com/traditional-mexican-horchata/)

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "mexican"
tags: ["mexican"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A classic, fluffy, and flavorful restaurant-style Mexican rice, simmered with tomato sauce and spices. The perfect side dish for any Mexican meal."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "pizza"
tags: ["pizza"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A standard pizza dough for pizza night."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "pizza"
tags: ["pizza"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A standard pizza sauce for pizza night."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "salad"
tags: ["salad"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A good Caesar salad dressing goes a long way, and making it yourself saves some money."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "sides"
tags: ["sides"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Silky mashed cauliflower that eats like mashed potatoes but healthier (?)."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "sides"
tags: ["sides"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "These are a great topping for ramen, sandwiches, charcuterie, salads, or anything that could use a fermented kick!"

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "sides"
tags: ["sides"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "Perfect mashed potatoes, with no cleanup!"

View File

@ -5,11 +5,8 @@ date: "2026-02-08"
lastUpdated: "2026-02-08"
category: "soup"
tags: ["soup", "chicken", "comfort-food", "instant-pot", "one-pot", "sick-day", "meal-prep"]
dietary: []
cookTime: 20
prepTime: 10
totalTime: 30
difficulty: "easy"
servings: 8
author: "pws"
description: "A comforting chicken noodle soup perfect for rainy or sick days. Made easy in the Instant Pot but can be adapted for stovetop cooking."

View File

@ -5,11 +5,8 @@ date: "2026-02-10"
lastUpdated: "2026-02-10"
category: "vietnamese"
tags: ["vietnamese"]
dietary: []
cookTime: 0
prepTime: 0
totalTime: 0
difficulty: "medium"
servings: 4
author: "pws"
description: "A traditional Vietnamese noodle soup with aromatic broth, rice noodles, and tender beef."