Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ control the amount of tags shown with: `TAG_CLOUD_MAX_ITEMS`

### Bootswatch and other Bootstrap themes

Part of the versatility of this theme comes from the fact that I included all the lovely Bootstrap themes from [Bootswatch](https://bootswatch.com/4-alpha), built by [Thomas Park](https://github.com/thomaspark). You can tell Pelican what Bootswatch theme to use, by setting `BOOTSTRAP_THEME` to the desired theme, in lowercase (ie. 'readable' or 'cosmo' etc.). My own site is using _Simplex_. If you want to use any other Bootstrap compatible theme, just put the `bootstrap.min.css` in the `static/css/themes/{theme-name}`. Then update the `BOOTSTRAP_THEME` variable with the _theme-name_ used.
Part of the versatility of this theme comes from the fact that I included all the lovely Bootstrap themes from [Bootswatch](https://bootswatch.com/4), built by [Thomas Park](https://github.com/thomaspark). You can tell Pelican what Bootswatch theme to use, by setting `BOOTSTRAP_THEME` to the desired theme, in lowercase (ie. 'readable' or 'cosmo' etc.). My own site is using _Simplex_. If you want to use any other Bootstrap compatible theme, just put the `bootstrap.min.css` in the `static/css/themes/{theme-name}`. Then update the `BOOTSTRAP_THEME` variable with the _theme-name_ used.

### Article info

Expand Down
11 changes: 6 additions & 5 deletions static/css/bootstrap.min.css

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions static/css/themes/cosmo/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions static/js/bootstrap.bundle.min.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions static/js/bootstrap.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions static/js/jquery.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions static/js/jquery.slim.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/js/tex-mml-chtml.js

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,25 @@
{% if SHARIFF %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/shariff/shariff.min.css" rel="stylesheet">
{% endif %}

{% if FEED_ALL_ATOM %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} ATOM Feed"/>
{% endif %}

{% if FEED_ALL_RSS %}
<link href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate"
title="{{ SITENAME }} RSS Feed"/>
{% endif %}

{% if tag and TAG_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ tag }} ATOM Feed"/>
{% endif %}

{% if category and CATEGORY_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ category }} ATOM Feed"/>
{% endif %}
{% if MATHJAX %}
<script id="MathJax-script" async src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/tex-mml-chtml.js"></script>
{% endif %}

</head>
<body>
Expand Down Expand Up @@ -153,6 +152,9 @@
{% endif %}
</ul>
</div>

{% include 'includes/optional_navbar_end.html' ignore missing %}

<!-- /.navbar-collapse -->
</nav> <!-- /.navbar -->
<!-- Banner -->
Expand Down Expand Up @@ -190,10 +192,10 @@
</div>
{% include 'includes/footer.html' %}

<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery.min.js"></script>
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery.slim.min.js"></script>

<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bootstrap.min.js"></script>
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bootstrap.bundle.min.js"></script>

{% if BANNER %}
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bodypadding.js"></script>
Expand Down