diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 18:08:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 18:08:34 +0300 |
commit | d703cd9c5dc812cd40624360ca60cf5be5c93971 (patch) | |
tree | 565de2271caa1f62fb73732463c243de6c059d3b /_includes | |
parent | index.html: smaller "Features" header (diff) | |
download | jekyll-theme-d703cd9c5dc812cd40624360ca60cf5be5c93971.tar.gz jekyll-theme-d703cd9c5dc812cd40624360ca60cf5be5c93971.zip |
footer: allow LICENSE as well as LICENSE.txtold_footer
Diffstat (limited to '')
-rw-r--r-- | _includes/common/footer.html | 3 |
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 %} |