Modify template to include microdata
This commit is contained in:
@@ -5,24 +5,24 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="user-scalable=no, width=device-width" />
|
||||
|
||||
<body class="recipe">
|
||||
<body class="recipe" itemscope itemtype="http://schema.org/Recipe">
|
||||
<section class="header">
|
||||
<div class="image" style="background-image: url('./image.png')"></div>
|
||||
<div class="image" style="background-image: url('./image.png')" itemprop="image"></div>
|
||||
|
||||
<div class="about">
|
||||
<h1>Bok Choy with Garlic</h1>
|
||||
<h1 itemprop="name">Bok Choy with Garlic</h1>
|
||||
|
||||
<div class="timing">
|
||||
prep 20 min </div>
|
||||
prep <span itemprop="prepTime">20 min</span> </div>
|
||||
|
||||
<div class="icons">
|
||||
<div class="icon gluten-free"></div>
|
||||
<div class="icon low-carb"></div>
|
||||
<div class="icon vegetarian"></div>
|
||||
<div class="icon serving"></div>× 3
|
||||
<div class="icon serving"></div>× <span itemprop="recipeYield">3</span>
|
||||
</div>
|
||||
|
||||
<div class="description">This treatment of bok choy yield a soft and lightly flavored vegetable which makes a good companion to almost any other dish.
|
||||
<div class="description" itemprop="description">This treatment of bok choy yield a soft and lightly flavored vegetable which makes a good companion to almost any other dish.
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -32,48 +32,48 @@ prep 20 min </div>
|
||||
<h3>1</h3>
|
||||
<div class="ingredients">
|
||||
<ul>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
2 tbsp
|
||||
</div>
|
||||
<div class="item">butter</div>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
¼ cup
|
||||
</div>
|
||||
<div class="item">garlic (minced)</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="detail">Melt the butter in a large saucepan over medium heat. Once it foams, add the garlic and cook until it browns (about 5 min).
|
||||
<div class="detail" itemprop="recipeInstructions">Melt the butter in a large saucepan over medium heat. Once it foams, add the garlic and cook until it browns (about 5 min).
|
||||
</div>
|
||||
</div>
|
||||
<div class="step">
|
||||
<h3>2</h3>
|
||||
<div class="ingredients">
|
||||
<ul>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
3 cups
|
||||
</div>
|
||||
<div class="item">chicken broth</div>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
6 heads
|
||||
</div>
|
||||
<div class="item">baby bok choy</div>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
1 tsp
|
||||
</div>
|
||||
<div class="item">salt</div>
|
||||
<li>
|
||||
<li itemprop="recipeIngredient">
|
||||
<div class="amount">
|
||||
1 tsp
|
||||
</div>
|
||||
<div class="item">black pepper</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="detail">Add the chicken broth and bok choy. Season with salt & pepper to taste, and then bring to a boil and then reduce to a simmer until the bok choy is soft (about 5 min).
|
||||
<div class="detail" itemprop="recipeInstructions">Add the chicken broth and bok choy. Season with salt & pepper to taste, and then bring to a boil and then reduce to a simmer until the bok choy is soft (about 5 min).
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user