~mjorgensen/jrgnsn.net

df5215de3597f40d06d603174ad1631468dc8abb — Matthew Jorgensen 8 months ago eef87a4
Remove obsolete recipe layouts
2 files changed, 0 insertions(+), 108 deletions(-)

D _layouts/recipe.html
D _layouts/recipe_base.html
D _layouts/recipe.html => _layouts/recipe.html +0 -73
@@ 1,73 0,0 @@
<!DOCTYPE html>
<html>
<head>
    <!-- Document Settings -->
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <!-- Page Meta -->
    <title>{{ page.title }} - Recipes on {{ site.title }}</title>
    <meta name="description=" content="True" />
    <link rel="icon" type="image/png" href="/avatar.png" />

    <!-- Stylesheets -->
    <link rel="stylesheet" type="text/css" href="/css/style.css" />
    {% if page.layout == 'recipe' %}
    <link rel="stylesheet" type="text/css" href="/css/recipe.css" />
    {% endif %}
</head>

<body>
    <div class="container">
        <header>
            <h1 class="page-title">
                {% if page.title %}
                {{ page.title }}
                {% else %}
                {{ site.title }}
                {% endif %}
            </h1>
            <navigation><div class="navigation">
                <a href="/recipes">Back to Recipes</a>
            </div></navigation>
        </header>

        <div class="recipe-container">
            <div class="ingredients">
                <h2>Ingredients</h2>
                    <div class="ingredient-list"> 
                    {% for keys in page.ingredients %}
                        {% for key in keys %}
                        {% if page.ingredients.size > 1 %}
                        <h3>{{ key.first }}</h3>
                        {% endif %}
                            {% for ing in key %}
                            {% for in in ing %}
                                <span class="qty">{{in.qty }}</span>
                                <span class="name">{{in.name}}</span>
                            {% endfor %}
                            {% endfor %}
                        {% endfor %}
                    {% endfor %}
                </div>
            </div>

            <div class="directions">
                <h2>Instructions</h2>
                {{ content }}
            </div>
        </div>
        {% if page.source %}
        <div class="recipe-source">
            {% if page.sourceURL %}
            Source: <a href="{{ page.sourceURL }}" target="_blank">{{ page.source }}</a>
            {% else %}
            Source: {{ page.source }}
            {% endif %}
        </div>
        {% endif %}
    </div>
</div>
</div>
</body>
</html>
\ No newline at end of file

D _layouts/recipe_base.html => _layouts/recipe_base.html +0 -35
@@ 1,35 0,0 @@
<!DOCTYPE html>
<html>
<head>
    <!-- Document Settings -->
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <!-- Page Meta -->
    <title>{{ page.title }} on {{ site.title }}</title>
    <meta name="description=" content="True" />
    <link rel="icon" type="image/png" href="/avatar.png" />

    <!-- Stylesheets -->
    <link rel="stylesheet" type="text/css" href="/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/css/recipe.css" />
</head>

<body>
    <div class="container">
        <header>
            <h1 class="page-title">
                {% if page.title %}
                {{ page.title }}
                {% else %}
                {{ site.title }}
                {% endif %}
            </h1>
            <navigation><div class="navigation">
                <a href="/">Back to Blog</a>
            </div></navigation>
        </header>
        {{ content }}
    </div>
</body>
</html>
\ No newline at end of file