1
0

Align "All Posts" button to the right

This commit is contained in:
Emil Miler 2024-05-06 12:24:42 +02:00
parent 8ace90578e
commit df0680e756
2 changed files with 5 additions and 1 deletions

View File

@ -201,6 +201,8 @@ main {
font-family: spectral, serif; font-family: spectral, serif;
font-size: 1rem; font-size: 1rem;
} }
.all-posts { text-align: right }
} }
a { a {

View File

@ -39,7 +39,9 @@
<main> <main>
{% block content %} {% block content %}
{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }} {{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
<div class="all-posts">
<a href="{{ get_url(path="/posts/") }}">All Posts &raquo;</a> <a href="{{ get_url(path="/posts/") }}">All Posts &raquo;</a>
</div>
{% endblock %} {% endblock %}
</main> </main>
</div> </div>