Merge pull request #4 from nicosomb/master

Some enhancements
This commit is contained in:
José Guilherme Vanz 2016-01-20 22:29:55 -02:00
commit 344a7fa383
3 changed files with 13 additions and 7 deletions

View File

@ -8,7 +8,7 @@
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<title>{% block title %}{{ SITENAME }}{% endblock title %}{% if SITESUBTITLE %} - {{ SITESUBTITLE }}{% endif %}</title>
<!-- CSS -->
<link href="//fonts.googleapis.com/" rel="dns-prefetch">

View File

@ -16,9 +16,18 @@
{% endfor %}
</div>
<div class="pagination">
<span class="pagination-item older">Older</span>
<span class="pagination-item newer">Newer</span>
{% if articles_page.has_previous() %}
{% set num = articles_page.previous_page_number() %}
<span class="pagination-item older"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">Newer</a></span>
{% else %}
<span class="pagination-item older">Newer</span>
{% endif %}
{% if articles_page.has_next() %}
<span class="pagination-item newer"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Older</a></span>
{% else %}
<span class="pagination-item newer">Older</span>
{% endif %}
</div>
{% endblock %}

View File

@ -13,9 +13,6 @@
<p></p>
</div>
<nav class="sidebar-nav">
<a class="sidebar-nav-item" href="mailto:guilherme.sft@gmail.com">
<i class="fa fa-envelope"></i>
</a>
{% for name, link in SOCIAL %}
<a class="sidebar-nav-item" href="{{ link }}">
<i class="fa fa-{{ name }}"></i>