Updated theme for v1

This commit is contained in:
2018-07-26 18:41:16 +02:00
parent 9a8ce2d3b4
commit d05a054eef
10 changed files with 411 additions and 1210 deletions

View File

@ -7,7 +7,7 @@
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<header class="main-header post-head {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}no-cover{{/if}}">
</header>
<main class="content" role="main">
@ -29,9 +29,9 @@
{{!-- Everything inside the #author tags pulls data from the author --}}
{{#author}}
{{#if image}}
{{#if profile_image}}
<figure class="author-image">
<a class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
<a class="img" href="{{url}}" style="background-image: url({{profile_image}})"><span class="hidden">{{name}}'s Picture</span></a>
</figure>
{{/if}}
@ -85,7 +85,7 @@
{{!-- Links to Previous/Next posts --}}
<aside class="read-next">
{{#next_post}}
<a class="read-next-story {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}">
<a class="read-next-story {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}color-cover{{/if}}" href="{{url}}">
<section class="post">
<h2>{{title}}</h2>
<p>{{excerpt words="19"}}&hellip;</p>
@ -93,7 +93,7 @@
</a>
{{/next_post}}
{{#prev_post}}
<a class="read-next-story prev {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}">
<a class="read-next-story prev {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}color-cover{{/if}}" href="{{url}}">
<section class="post">
<h2>{{title}}</h2>
<p>{{excerpt words="19"}}&hellip;</p>