Rough out splash page _layout with styles and test content

This commit is contained in:
Michael Rose
2016-03-23 16:35:01 -04:00
parent 02a1a0b04a
commit 479bce3682
9 changed files with 166 additions and 10 deletions

22
_layouts/splash.html Normal file
View File

@@ -0,0 +1,22 @@
---
layout: default
---
{% include base_path %}
{% if page.header.splash %}
{% include page__hero.html %}
{% endif %}
<div id="main" role="main">
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
<section class="page__content" itemprop="text">
{{ content }}
</section>
</article>
</div>