Merge pull request #18 from elboulangero/master

Last fixes for now
This commit is contained in:
José Guilherme Vanz 2020-08-11 20:27:06 -03:00 committed by GitHub
commit 7f8341ad1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -17,6 +17,7 @@ List of Pelican's settings that are supported by this theme. Refer to the
for more details.
- `FEED_*` and `*_FEED_*`
- `DEFAULT_PAGINATION`
- `DISPLAY_PAGES_ON_MENU`
- `DISQUS_SITENAME`
- `GOOGLE_ANALYTICS`

View File

@ -15,6 +15,7 @@
</div>
{% endfor %}
</div>
{% if DEFAULT_PAGINATION %}
<div class="pagination">
{% if articles_page.has_previous() %}
@ -30,4 +31,5 @@
<span class="pagination-item newer">Older</span>
{% endif %}
</div>
{% endif %}
{% endblock %}

View File

@ -16,7 +16,7 @@
<ul class="sidebar-nav">
{% if MENUITEMS %}
{% for title, url in MENUITEMS %}
<li><a href="{{ SITEURL }}/{{ url }}">{{ title }}</a></li>
<li><a href="{{ url }}">{{ title }}</a></li>
{% endfor %}
{% endif %}
{% if DISPLAY_PAGES_ON_MENU %}
@ -40,11 +40,11 @@
'osf', 'overleaf', 'philpapers', 'piazza', 'publons',
'pubmed', 'researcherid', 'scirate', 'semantic-scholar',
'springer', 'zotero'] %}
<a class="sidebar-social-item" href="{{ link }}">
<a class="sidebar-social-item" href="{{ link }}" target="_blank">
<i class="ai ai-{{ name }}"></i>
</a>
{% else %}
<a class="sidebar-social-item" href="{{ link }}">
<a class="sidebar-social-item" href="{{ link }}" target="_blank">
<i class="fa fa-{{ name }}"></i>
</a>
{% endif %}