Modify template to include microdata

This commit is contained in:
Andrew Miner
2020-02-01 11:14:42 -07:00
parent c3e94e7370
commit 2692e9465a
77 changed files with 1600 additions and 1627 deletions
+15 -15
View File
@@ -5,23 +5,23 @@
<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>Hummus</h1>
<h1 itemprop="name">Hummus</h1>
<div class="timing">
prep 10 minutes </div>
prep <span itemprop="prepTime">10 minutes</span> </div>
<div class="icons">
<div class="icon gluten-free"></div>
<div class="icon vegetarian"></div>
<div class="icon serving"></div>× 6
<div class="icon serving"></div>× <span itemprop="recipeYield">6</span>
</div>
<div class="description">Fresh hummus is pretty amazing stuff, but you'll definitely need a powerful blender or food processor to manage as it gets very thick by the end. This recipe deliberately keeps it very simple, but hummus is a great platform to experiment with adding various other flavors (e.g., red pepper flakes, dill, etc.).
<div class="description" itemprop="description">Fresh hummus is pretty amazing stuff, but you'll definitely need a powerful blender or food processor to manage as it gets very thick by the end. This recipe deliberately keeps it very simple, but hummus is a great platform to experiment with adding various other flavors (e.g., red pepper flakes, dill, etc.).
</div>
</div>
</section>
@@ -31,53 +31,53 @@ prep 10 minutes </div>
<h3>1</h3>
<div class="ingredients">
<ul>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
5 cloves
</div>
<div class="item">garlic</div>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
30 oz
</div>
<div class="item">garbanzo beans (pre-cooked, canned)</div>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
1 cups
</div>
<div class="item">olive oil, extra-virgin</div>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
1 cup
</div>
<div class="item">tahini</div>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
½ cup
</div>
<div class="item">lemon juice</div>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
1 tsp
</div>
<div class="item">salt</div>
</ul>
</div>
<div class="detail">Using a food processor or a powerful blender, add one ingredient at a time, blending to a purée after each.
<div class="detail" itemprop="recipeInstructions">Using a food processor or a powerful blender, add one ingredient at a time, blending to a purée after each.
</div>
</div>
<div class="step">
<h3>2</h3>
<div class="ingredients">
<ul>
<li>
<li itemprop="recipeIngredient">
<div class="amount">
¼ cups
</div>
<div class="item">olive oil, extra-virgin</div>
</ul>
</div>
<div class="detail">Transfer to a serving bowl, and drizzle the remaining olive oil over the top.
<div class="detail" itemprop="recipeInstructions">Transfer to a serving bowl, and drizzle the remaining olive oil over the top.
</div>
</div>
</section>