Some enhancements
* add SITESUBTITLE for title pages * add pagination links for previous and next articles * remove hardcoded email of jvanz (creator of this theme)
This commit is contained in:
+1
-1
@@ -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">
|
||||
|
||||
+12
-3
@@ -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 %}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user