♻️ refactor: improve spacing and indentation
parent
4b18391c18
commit
dceceff5fd
@ -1,8 +1,10 @@
|
|||||||
{% extends "page.html" %}
|
{% extends "page.html" %}
|
||||||
|
|
||||||
{% block main_content %}
|
{% block main_content %}
|
||||||
|
|
||||||
<main class="centered-header">
|
<main class="centered-header">
|
||||||
{{ macros_page_header::page_header(title="404")}}
|
{{ macros_page_header::page_header(title="404")}}
|
||||||
<span>not found</span>
|
<span>not found</span>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{% endblock main_content %}
|
{% endblock main_content %}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{% macro page_header(title) %}
|
{% macro page_header(title) %}
|
||||||
|
|
||||||
<div class="title-container section-title bottom-divider">
|
<div class="title-container section-title bottom-divider">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endmacro page_header %}
|
{% endmacro page_header %}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block main_content %}
|
{% block main_content %}
|
||||||
|
|
||||||
{{ macros_content::content(page=page)}}
|
{{ macros_content::content(page=page)}}
|
||||||
|
|
||||||
{% endblock main_content %}
|
{% endblock main_content %}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<section>
|
<section>
|
||||||
<nav class="socials nav-navs">
|
<nav class="socials nav-navs">
|
||||||
{%- if config.extra.socials %}
|
{%- if config.extra.socials %}
|
||||||
{% for social in config.extra.socials %}
|
{% for social in config.extra.socials %}
|
||||||
<a rel="noopener noreferrer" target="_blank" class="nav-links no-hover-padding social" href={{ social.url | safe | replace(from="$BASE_URL", to=config.base_url) }}>
|
<a rel="noopener noreferrer" target="_blank" class="nav-links no-hover-padding social" href={{ social.url | safe | replace(from="$BASE_URL", to=config.base_url) }}>
|
||||||
<img alt={{ social.name }} title={{ social.name }} src="{{config.base_url}}/social_icons/{{ social.icon }}.svg">
|
<img alt={{ social.name }} title={{ social.name }} src="{{config.base_url}}/social_icons/{{ social.icon }}.svg">
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
<script src="{{ get_url(path='js/main.js', trailing_slash=false) | safe }}"/></script>
|
<script src="{{ get_url(path='js/main.js', trailing_slash=false) | safe }}"/></script>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue