diff options
-rw-r--r-- | _config.yml | 3 | ||||
-rw-r--r-- | _includes/common/footer.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml index 1a4dd85..0dd7a7c 100644 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,6 @@ baseurl: '' exclude: - Gemfile - Gemfile.lock - - LICENSE.txt - README.md defaults: @@ -45,6 +44,8 @@ settings: project: name: jekyll-theme description: jekyll-theme preview + license: MIT License + license_file: LICENSE.txt author: name: John Doe email: John.Doe@example.com diff --git a/_includes/common/footer.html b/_includes/common/footer.html index 8e7c977..769ac7c 100644 --- a/_includes/common/footer.html +++ b/_includes/common/footer.html @@ -6,7 +6,7 @@ <div style="display: table; width: 100%;"> <div style="display: table-row;"> <div style="display: table-cell;"> - <div class="text-center text-muted"><small>This project is licensed under the terms of the MIT License. See <a href="{{ site.github.repository_url }}/blob/{{ site.github.source.branch }}/README.md#license">License</a> for details.</small></div> + <div class="text-center text-muted"><small>This project is licensed under the terms of the {{ site.settings.project.license }}. See <a href="{{ '/' | relative_url }}{{ site.settings.project.license_file }}">License</a> for details.</small></div> </div> </div> <div style="display: table-row;"> |