mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Add bootswatch theme support 🎉
This commit is contained in:
parent
5dfdeeb084
commit
990c9fb4c7
24 changed files with 301 additions and 52 deletions
|
|
@ -17,7 +17,12 @@
|
|||
<meta name="theme-color" content="#333333">
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.min.css">
|
||||
{% if BOOTSWATCH_THEME %}
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootswatch/{{ BOOTSWATCH_THEME }}/bootstrap.min.css">
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/default.css">
|
||||
{% endif %}
|
||||
<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">
|
||||
|
|
@ -34,6 +39,8 @@
|
|||
</div>
|
||||
</header>
|
||||
|
||||
<hr class="my-0">
|
||||
|
||||
<div class="main">
|
||||
<div class="container">
|
||||
<h1>{% block page_header %}{% endblock %}</h1>
|
||||
|
|
@ -42,6 +49,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="my-0">
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
{% include 'include/footer.html' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue