diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/jekyll-theme/footer.html | 14 |
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> |