Fix fontawesome usage and images in home template
Fontawesome in now loaded via a "kit" and the images in the home template now have a lower quality.
This commit is contained in:
parent
0b18eae2cf
commit
5c62af5ecc
3 changed files with 4 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8" />
|
||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{% if page.parent and page.parent.title %}{{ page.parent.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
@ -24,9 +24,7 @@
|
|||
{% endblock head %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{# do assets.addCss('https://unpkg.com/purecss@1.0.0/build/pure-min.css', 100) #}
|
||||
{% do assets.addCss('https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css', 100) %}
|
||||
{% do assets.addCss('theme://fontawesome/css/all.min.css', 99) %}
|
||||
{% do assets.addCss('theme://css/custom.css', 96) %}
|
||||
{% do assets.addCss('theme://css/sidebar.css', 96) %}
|
||||
{% endblock %}
|
||||
|
@ -35,6 +33,7 @@
|
|||
{% do assets.addJs('jquery', 100) %}
|
||||
{% do assets.addJs('https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js', 99) %}
|
||||
{% do assets.addJs('theme://js/core-functions.js', 98) %}
|
||||
{% do assets.addJs('https://kit.fontawesome.com/b5819e2db9.js', 97) %}
|
||||
{% endblock %}
|
||||
|
||||
{% block assets_css %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue