aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 18:08:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 18:08:34 +0300
commitd703cd9c5dc812cd40624360ca60cf5be5c93971 (patch)
tree565de2271caa1f62fb73732463c243de6c059d3b /_includes
parentindex.html: smaller "Features" header (diff)
downloadjekyll-theme-d703cd9c5dc812cd40624360ca60cf5be5c93971.tar.gz
jekyll-theme-d703cd9c5dc812cd40624360ca60cf5be5c93971.zip
footer: allow LICENSE as well as LICENSE.txtold_footer
Diffstat (limited to '_includes')
-rw-r--r--_includes/common/footer.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html
index e8fd04b..5707dee 100644
--- a/_includes/common/footer.html
+++ b/_includes/common/footer.html
@@ -11,7 +11,8 @@
{% capture license_file %}{{ '/' | relative_url }}{{ site.settings.project.license_file }}{% endcapture %}
{% else %}
{% for file in site.static_files %}
- {% if file.path == '/LICENSE.txt' %}
+ {% assign path = file.path | downcase %}
+ {% if path == 'license' or path == 'license.txt' %}
{% assign license_file = file.path | relative_url %}
{% endif %}
{% endfor %}