Flexible footer

This commit is contained in:
Eduardo Gomez 2019-03-08 10:47:48 +01:00
parent 60d4426be4
commit 09ed1758c2
7 changed files with 272 additions and 259 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,6 @@
{{!< default}}
<div class="main-wrap">
{{#author}}
{{> header background=cover_image}}
@ -64,3 +65,4 @@
{{pagination}}
</section>
</main>
</div>

View file

@ -1,5 +1,6 @@
{{!< default}}
<div class="main-wrap">
{{> header background=@site.cover_image}}
{{> hero background=@site.cover_image}}
@ -72,6 +73,7 @@
{{pagination}}
</section>
</main>
</div>
{{#contentFor "scripts"}}
<script defer src="{{asset "js/home.js"}}"></script>

View file

@ -1,6 +1,7 @@
{{!< default}}
{{#post}}
<div class="main-wrap">
{{> header background=feature_image}}
{{> hero background=feature_image}}
@ -21,7 +22,8 @@
{{#if profile_image}}
<div class="m-article-card__picture" style="background-image: url({{profile_image}})">
{{else}}
<div class="m-article-card__picture" style="background-image: url({{asset "images/default-avatar-rectangle.jpg"}})">
<div class="m-article-card__picture"
style="background-image: url({{asset "images/default-avatar-rectangle.jpg"}})">
{{/if}}
<a href="{{url}}" class="m-article-card__picture-link" aria-label="Author"></a>
<h3 class="m-article-card__name">{{name}}</h3>
@ -68,4 +70,5 @@
</div>
</section>
</main>
</div>
{{/post}}

View file

@ -1,6 +1,7 @@
{{!< default}}
{{#post}}
<div class="main-wrap">
{{> header background=feature_image}}
{{> hero background=feature_image}}
@ -24,6 +25,7 @@
</section>
</article>
</main>
</div>
{{/post}}
{{#contentFor "scripts"}}

View file

@ -1,5 +1,6 @@
{{!< default}}
<div class="main-wrap">
{{#post}}
{{> header background=feature_image}}
@ -154,6 +155,7 @@
</section>
</article>
</main>
</div>
{{#contentFor "scripts"}}
<script defer src="{{asset "js/post.js"}}"></script>

View file

@ -1,5 +1,6 @@
{{!< default}}
<div class="main-wrap">
{{#tag}}
{{> header background=feature_image}}
@ -23,3 +24,4 @@
{{pagination}}
</section>
</main>
</div>