Remove footer and refactor layout to use fluid sidebar width
This commit is contained in:
parent
1355557a98
commit
748472a5d0
4 changed files with 25 additions and 81 deletions
|
@ -6,14 +6,8 @@ return function ($site) {
|
|||
$logoHref = $site->url();
|
||||
$logoAriaLabel = "Go to {$site->title()}'s home page";
|
||||
|
||||
// Get contact fields content
|
||||
$email = $site->email();
|
||||
$instagram = $site->instagram();
|
||||
|
||||
// Return data
|
||||
return compact(
|
||||
'email',
|
||||
'instagram',
|
||||
'logoAriaLabel',
|
||||
'logoHref',
|
||||
);
|
||||
|
|
|
@ -45,27 +45,6 @@
|
|||
{% block main %}
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
<footer>
|
||||
{% if instagram.isNotEmpty %}
|
||||
<a class="footer__link footer__instagram-link"
|
||||
href="{{ instagram }}"
|
||||
target="_blank"
|
||||
aria-label="Go to {{ site.title }}'s Instagram profile">
|
||||
{{ svg('images/feather-instagram-custom.svg') | raw }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if email.isNotEmpty %}
|
||||
<a class="footer__link footer__mail-link"
|
||||
href="mailto:{{ email }}"
|
||||
target="_blank"
|
||||
aria-label="Write an email to {{ site.title }}">
|
||||
{{ svg('images/feather-mail-custom.svg') | raw }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</footer>
|
||||
{% endblock %}
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue