aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
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 %}