aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-15 17:11:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-15 17:11:13 +0300
commitd218a0fcdd23b399e6ef12b69175ed315e006d5d (patch)
tree225f085f99f71d71d75ed85354a654e98f13e3ae /_includes
parentfooter: lower padding (diff)
downloadjekyll-theme-d218a0fcdd23b399e6ef12b69175ed315e006d5d.tar.gz
jekyll-theme-d218a0fcdd23b399e6ef12b69175ed315e006d5d.zip
footer: sort out item separation
Diffstat (limited to '_includes')
-rw-r--r--_includes/jekyll-theme/footer.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/_includes/jekyll-theme/footer.html b/_includes/jekyll-theme/footer.html
index 9331784..35887d0 100644
--- a/_includes/jekyll-theme/footer.html
+++ b/_includes/jekyll-theme/footer.html
@@ -32,10 +32,18 @@
{% capture license_text %}License: <a href="{{ license_file }}">click here</a>{% endcapture %}
{% endif %}
-{% capture sep %}<span style="padding: 0 1em;">|</span>{% endcapture %}
{% capture timestamp_text %}Last update: {{ site.time | date: '%-d %B %Y' }}{% endcapture %}
-<div class="small text-muted">
- {% if license_text %}{{ license_text }}{{ sep }}{% endif %}{{ timestamp_text }}
+
+{% assign footer_items = '' | split: '' %}
+{% if license_text %}
+ {% assign footer_items = footer_items | push: license_text %}
+{% endif %}
+{% assign footer_items = footer_items | push: timestamp_text %}
+
+<div class="small text-muted footer-items">
+ {% for item in footer_items %}
+ <div class="footer-item">{{ item }}</div>
+ {% endfor %}
</div>
</div>