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}}
|
{{!< 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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
2
page.hbs
2
page.hbs
|
@ -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"}}
|
||||||
|
|
2
post.hbs
2
post.hbs
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue