improve layout

This commit is contained in:
Pat Dryburgh
2018-08-25 10:31:29 -07:00
parent 65f1e7d262
commit 00a6f6d883
9 changed files with 28 additions and 9 deletions

View File

@ -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">&lang; Older</a>
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="pagination-next btn">&lang;&nbsp;Older</a>
{% else %}
<span>&nbsp;</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 &rang;</a>
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="pagination-previous btn">Newer&nbsp;&rang;</a>
{% else %}
<span>&nbsp;</span>
{% endif %}

View File

@ -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 }}