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}} {{!< default}}
<div class="main-wrap">
{{#author}} {{#author}}
{{> header background=cover_image}} {{> header background=cover_image}}
@ -64,3 +65,4 @@
{{pagination}} {{pagination}}
</section> </section>
</main> </main>
</div>

View file

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

View file

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

View file

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

View file

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

View file

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