Flexible footer
This commit is contained in:
parent
60d4426be4
commit
09ed1758c2
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,6 @@
|
|||
{{!< default}}
|
||||
|
||||
<div class="main-wrap">
|
||||
{{#author}}
|
||||
{{> header background=cover_image}}
|
||||
|
||||
|
@ -64,3 +65,4 @@
|
|||
{{pagination}}
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}}
|
||||
|
|
2
page.hbs
2
page.hbs
|
@ -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"}}
|
||||
|
|
2
post.hbs
2
post.hbs
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue