Continue to refine styles and layouts

This commit is contained in:
Michael Rose
2016-03-10 13:06:59 -05:00
parent 3df0afbdc9
commit 8d046af7a9
26 changed files with 390 additions and 382 deletions

View File

@@ -16,16 +16,16 @@ layout: compress
{% include navigation %}
{% if page.header.image %}
<div class="image-wrap">
<div class="page__hero">
<img src=
{% if page.header.image contains "http" %}
"{{ page.header.image }}"
{% else %}
"{{ page.header.image | prepend: "/images/" | prepend: base_path }}"
{% endif %}
alt="{{ page.title }}">
alt="{{ page.title }}" class="page__hero-image">
{% if page.header.caption %}
<span class="image-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %}
</div><!-- /.image-wrap -->
{% endif %}