view docs/templates/splash.html @ 338:938be93215cb

bake: Improve render context and bake record, fix incremental bake bugs. * Used sources and taxonomies are now stored on a per-render-pass basis. This fixes bugs where sources/taxonomies were used for one pass, but that pass is skipped on a later bake because its result is cached. * Bake records are now created for all pages even when they're not baked. Record collapsing is gone except for taxonomy index pages. * Bake records now also have sub-entries in order to store information about each sub-page, since some sub-pages could use sources/taxonomies differently than others, or be missing from the output. This lets PieCrust handle clean/dirty states on a sub-page level.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 06 Apr 2015 19:59:54 -0700
parents f8601540caff
children 94d7d5e38571
line wrap: on
line source

{% extends "default.html" %}

{% block header %}
<header class="splash">
    <h1>PieCurst</h1>
    <div class="splash-logo">
    </div>
    <div class="splash-main">
        {{main|safe}}
    </div>
</header>
{% endblock %}

{% block content %}
<section class="splash splash-chalkboard">
    <div class="container">
        <h2>Chef's Features</h2>
        <div class="row">
            <div class="col-sm-6 col-md-4">
                <img class="splash-icon" src="{{site.root}}img/cake-white.png" />
                {{simple|safe}}
            </div>
            <div class="col-sm-6 col-md-4">
                <img class="splash-icon hidden-xs" src="{{site.root}}img/chef-hat-white.png" />
                {{bake|safe}}
            </div>
            <div class="clearfix visible-sm-block"></div>
            <div class="col-sm-6 col-md-4">
                <img class="splash-icon hidden-sm" src="{{site.root}}img/whisk-white.png" />
                {{ingr|safe}}
            </div>
            <div class="clearfix visible-md-block visible-lg-block"></div>
            <div class="col-sm-6 col-md-4">
                {{oven|safe}}
            </div>
            <div class="clearfix visible-sm-block"></div>
            <div class="col-sm-6 col-md-4">
                <img class="splash-icon visible-xs" src="{{site.root}}img/chef-hat-white.png" />
                {{fast|safe}}
            </div>
            <div class="col-sm-6 col-md-4">
                {{carte|safe}}
            </div>
        </div>
    </div>
</section>
<section class="splash splash-board">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-md-8 col-md-offset-2">
                {{startnow|safe}}
            </div>
        </div>
    </div>
</section>
{% endblock %}