2015-10-25 05:01:30 +01:00
|
|
|
<div class="sidebar">
|
|
|
|
|
<div class="container sidebar-sticky">
|
|
|
|
|
<div class="sidebar-about">
|
|
|
|
|
|
|
|
|
|
<h1>
|
|
|
|
|
<a href="/">
|
|
|
|
|
<img class="profile-picture" src="{{ SITEURL }}/images/{{ PROFILE_IMAGE }}">
|
|
|
|
|
{{ SITENAME }}
|
|
|
|
|
</a>
|
|
|
|
|
</h1>
|
|
|
|
|
<p class="lead"></p>
|
|
|
|
|
<p class="lead">{{ BIO }} </p>
|
|
|
|
|
<p></p>
|
|
|
|
|
</div>
|
2019-02-17 06:41:03 +01:00
|
|
|
{% if MENUITEMS or DISPLAY_PAGES_ON_MENU %}
|
|
|
|
|
<ul class="sidebar-nav">
|
|
|
|
|
{% if MENUITEMS %}
|
|
|
|
|
{% for title, url in MENUITEMS %}
|
2020-08-07 05:37:51 +02:00
|
|
|
<li><a href="{{ url }}">{{ title }}</a></li>
|
2019-02-17 06:41:03 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU %}
|
|
|
|
|
{% for p in pages %}
|
|
|
|
|
<li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<nav class="sidebar-social">
|
2015-10-25 05:01:30 +01:00
|
|
|
{% for name, link in SOCIAL %}
|
2016-01-25 02:56:04 +01:00
|
|
|
{% if name == 'email' %}
|
2020-07-26 18:46:16 +02:00
|
|
|
<a class="sidebar-social-item" href="mailto:{{ link }}">
|
Use Fork Awesome as the default icon font, and rework settings
In 16e3058, a FONT_AWESOME setting was introduced and used as such:
"https://kit.fontawesome.com/{{ FONT_AWESOME }}.js"
Also in 16e3058, the default way to fetch Font Awesome was changed to
Javascript (before we used to load is as CSS).
The present commit does several changes:
- Revert the default back to CSS (instead of JS), as I think that for a
font, there's no need for Javascript. A font is a static asset, so
it's enough to load it as a static CSS file, both for privacy and
security. Also, think about those who disable JS in their browser.
- Remove the `FONT_AWESOME` setting, as it's a bit too limiting to force
users into `kit.fontawesome.com`, it doesn't leave much space for
configuration.
- Instead, introduce two variables `FONT_AWESOME_CSS` and
`FONT_AWESOME_JS`, so that users have more freedom to define how they
want to load the Font Awesome.
- Use Fork Awesome as the default, if no setting is given by user.
Meaning that we get back to the `fa` css classes (instead of `fas` or
`fab`)
2020-07-26 10:57:40 +02:00
|
|
|
<i class="fa fa-envelope"></i>
|
2016-01-25 02:56:04 +01:00
|
|
|
</a>
|
2020-05-02 18:31:06 +02:00
|
|
|
{% elif name in ['academia', 'acclaim', 'acm', 'acmdl', 'ads', 'arxiv',
|
|
|
|
|
'biorxiv', 'ceur', 'coursera', 'cv', 'dataverse',
|
|
|
|
|
'dblp', 'depsy', 'doi', 'dryad', 'figshare',
|
|
|
|
|
'google-scholar', 'ideas-repec', 'ieee', 'impactstory',
|
|
|
|
|
'inspire', 'lattes', 'mathoverflow', 'open-access',
|
|
|
|
|
'osf', 'overleaf', 'philpapers', 'piazza', 'publons',
|
|
|
|
|
'pubmed', 'researcherid', 'scirate', 'semantic-scholar',
|
|
|
|
|
'springer', 'zotero'] %}
|
2020-07-26 18:46:16 +02:00
|
|
|
<a class="sidebar-social-item" href="{{ link }}">
|
2020-05-02 18:31:06 +02:00
|
|
|
<i class="ai ai-{{ name }}"></i>
|
|
|
|
|
</a>
|
2016-01-25 02:56:04 +01:00
|
|
|
{% else %}
|
2020-07-26 18:46:16 +02:00
|
|
|
<a class="sidebar-social-item" href="{{ link }}">
|
Use Fork Awesome as the default icon font, and rework settings
In 16e3058, a FONT_AWESOME setting was introduced and used as such:
"https://kit.fontawesome.com/{{ FONT_AWESOME }}.js"
Also in 16e3058, the default way to fetch Font Awesome was changed to
Javascript (before we used to load is as CSS).
The present commit does several changes:
- Revert the default back to CSS (instead of JS), as I think that for a
font, there's no need for Javascript. A font is a static asset, so
it's enough to load it as a static CSS file, both for privacy and
security. Also, think about those who disable JS in their browser.
- Remove the `FONT_AWESOME` setting, as it's a bit too limiting to force
users into `kit.fontawesome.com`, it doesn't leave much space for
configuration.
- Instead, introduce two variables `FONT_AWESOME_CSS` and
`FONT_AWESOME_JS`, so that users have more freedom to define how they
want to load the Font Awesome.
- Use Fork Awesome as the default, if no setting is given by user.
Meaning that we get back to the `fa` css classes (instead of `fas` or
`fab`)
2020-07-26 10:57:40 +02:00
|
|
|
<i class="fa fa-{{ name }}"></i>
|
2016-01-25 02:56:04 +01:00
|
|
|
</a>
|
|
|
|
|
{% endif %}
|
2015-10-25 05:01:30 +01:00
|
|
|
{% endfor %}
|
2020-07-26 18:46:16 +02:00
|
|
|
<a class="sidebar-social-item" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM if FEED_ALL_ATOM else FEED_ALL_RSS }}">
|
Use Fork Awesome as the default icon font, and rework settings
In 16e3058, a FONT_AWESOME setting was introduced and used as such:
"https://kit.fontawesome.com/{{ FONT_AWESOME }}.js"
Also in 16e3058, the default way to fetch Font Awesome was changed to
Javascript (before we used to load is as CSS).
The present commit does several changes:
- Revert the default back to CSS (instead of JS), as I think that for a
font, there's no need for Javascript. A font is a static asset, so
it's enough to load it as a static CSS file, both for privacy and
security. Also, think about those who disable JS in their browser.
- Remove the `FONT_AWESOME` setting, as it's a bit too limiting to force
users into `kit.fontawesome.com`, it doesn't leave much space for
configuration.
- Instead, introduce two variables `FONT_AWESOME_CSS` and
`FONT_AWESOME_JS`, so that users have more freedom to define how they
want to load the Font Awesome.
- Use Fork Awesome as the default, if no setting is given by user.
Meaning that we get back to the `fa` css classes (instead of `fas` or
`fab`)
2020-07-26 10:57:40 +02:00
|
|
|
<i class="fa fa-rss"></i>
|
2015-10-25 05:01:30 +01:00
|
|
|
</a>
|
|
|
|
|
</nav>
|
2020-07-27 10:26:33 +02:00
|
|
|
{% if FOOTER_TEXT %}
|
|
|
|
|
<p class="sidebar-footer">{{ FOOTER_TEXT }}</p>
|
|
|
|
|
{% endif %}
|
2015-10-25 05:01:30 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|