diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-15 17:25:14 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-15 17:25:14 +0300 |
commit | 934402e1ec814b735e721add471f02b521768ec7 (patch) | |
tree | c88dbdc4ecf25d709c1527f8dd49db960ab6493a | |
parent | footer: fix license file detection (diff) | |
download | jekyll-theme-934402e1ec814b735e721add471f02b521768ec7.tar.gz jekyll-theme-934402e1ec814b735e721add471f02b521768ec7.zip |
footer: add a link to this theme
-rw-r--r-- | _includes/jekyll-theme/footer.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_includes/jekyll-theme/footer.html b/_includes/jekyll-theme/footer.html index 78e5eda..839e6f1 100644 --- a/_includes/jekyll-theme/footer.html +++ b/_includes/jekyll-theme/footer.html @@ -33,12 +33,14 @@ {% endif %} {% capture timestamp_text %}Build: {{ site.time | date: '%-d %B %Y' }}{% endcapture %} +{% capture theme_text %}<a href="https://github.com/egor-tensin/jekyll-theme">jekyll-theme</a> by <a href="https://egor-tensin.github.io/">Egor Tensin</a>{% endcapture %} {% assign footer_items = '' | split: '' %} {% if license_text %} {% assign footer_items = footer_items | push: license_text %} {% endif %} {% assign footer_items = footer_items | push: timestamp_text %} +{% assign footer_items = footer_items | push: theme_text %} <div class="small text-muted footer-items"> {% for item in footer_items %} |