mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-18 17:14:15 +00:00
improve layout
This commit is contained in:
@ -44,13 +44,13 @@ layout: default
|
||||
|
||||
<div class="post-pagination">
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="pagination-next btn">⟨ Older</a>
|
||||
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="pagination-next btn">⟨ Older</a>
|
||||
{% else %}
|
||||
<span> </span>
|
||||
{% endif %}
|
||||
<span class="pagination-number">{{ paginator.page }} of {{ paginator.total_pages }}</span>
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="pagination-previous btn">Newer ⟩</a>
|
||||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="pagination-previous btn">Newer ⟩</a>
|
||||
{% else %}
|
||||
<span> </span>
|
||||
{% endif %}
|
||||
|
@ -10,11 +10,11 @@ layout: default
|
||||
|
||||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
{% unless page.title == "" %}
|
||||
{% if page.title != "" %}
|
||||
<h1 class="post-title divided p-name" itemprop="name headline">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
|
||||
<div class="post-content e-content" itemprop="articleBody">
|
||||
{{ content }}
|
||||
|
Reference in New Issue
Block a user