Lighthouse enhancements (#445)
This commit is contained in:
parent
b45b247501
commit
7f10dc3ec9
@ -14,6 +14,7 @@ footer_text: >
|
||||
Hosted by <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>.
|
||||
Photos from <a href="https://unsplash.com" target="_blank">Unsplash</a>.
|
||||
|
||||
lang: en # the language of your site (for example: en, fr, cn, ru, etc.)
|
||||
icon: 🔥 # the emoji used as the favicon
|
||||
url: https://alshedivat.github.io # the base hostname & protocol for your site
|
||||
baseurl: /al-folio # the subpath of your site, e.g. /blog/
|
||||
|
@ -41,11 +41,10 @@
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>">
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}">
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
||||
|
||||
{% if site.enable_darkmode %}
|
||||
<!-- Dark Mode -->
|
||||
<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>
|
||||
<script src="{{ '/assets/js/dark_mode.js' | relative_url }}"></script>
|
||||
{% endif %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% if site.email %}<a href="mailto:{{ site.email | encode_email }}"><i class="fas fa-envelope"></i></a>{% endif %}
|
||||
{% if site.email %}<a href="mailto:{{ site.email | encode_email }}" title="email"><i class="fas fa-envelope"></i></a>{% endif %}
|
||||
{% if site.orcid_id %}<a href="https://orcid.org/{{ site.orcid_id }}" title="ORCID"><i class="ai ai-orcid"></i></a>{% endif %}
|
||||
{% if site.scholar_userid %}<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>{% endif %}
|
||||
{% if site.publons_id %}<a href="https://publons.com/a/{{ site.publons_id }}/" title="Publons"><i class="ai ai-publons"></i></a>{% endif %}
|
||||
|
@ -18,6 +18,7 @@ layout: default
|
||||
{% responsive_image_block %}
|
||||
path: {{ page.profile.image | prepend: 'assets/img/' }}
|
||||
class: "img-fluid z-depth-1 rounded"
|
||||
alt: {{ page.profile.image }}
|
||||
{% endresponsive_image_block %}
|
||||
{% endif %}
|
||||
{% if page.profile.address %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="{{ site.lang }}">
|
||||
|
||||
<head>
|
||||
{% if page.redirect %}<meta http-equiv="refresh" content="3; url={{ site.baseurl | prepend: site.url }}/" />{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user