mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Merge pull request #80 from sio/override-css
Add configuration parameter to override the stylesheet 👍
This commit is contained in:
commit
0c6fd9e5c3
2 changed files with 9 additions and 0 deletions
|
|
@ -21,6 +21,13 @@
|
|||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments/{{ PYGMENTS_STYLE|default('default') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/theme.css">
|
||||
{% for stylesheet in THEME_CSS_OVERRIDES or () %}
|
||||
{% if stylesheet|lower|truncate(4, True, '') == 'http' %}
|
||||
<link rel="stylesheet" href="{{ stylesheet }}">
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{ SITEURL + '/' + stylesheet }}">
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% include 'include/xml_feeds.html' %}
|
||||
{% block head %}{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue