aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/footer.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/common/footer.html25
1 files changed, 12 insertions, 13 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html
index 5707dee..12ceabe 100644
--- a/_includes/common/footer.html
+++ b/_includes/common/footer.html
@@ -3,10 +3,9 @@
<div class="footer-wrapper-collapse">
<footer class="navbar-default">
<div class="container">
- <div style="display: table; width: 100%;" class="small">
- <div style="display: table-row;">
- <div style="display: table-cell;">
- <div class="text-center text-muted">
+ <div class="row">
+ <div class="col-xs-12 text-center">
+
{% if site.settings.project.license_file %}
{% capture license_file %}{{ '/' | relative_url }}{{ site.settings.project.license_file }}{% endcapture %}
{% else %}
@@ -30,17 +29,17 @@
{% endunless %}
{% endif %}
{% if license %}
- This project is licensed under the <a href="{{ license_file }}">{{ license }}</a>.
+ {% capture license_text %}License: <a href="{{ license_file }}">{{ license }}</a>{% endcapture %}
{% elsif license_file %}
- This project is licensed under <a href="{{ license_file }}">this license</a>.
+ {% capture license_text %}License: <a href="{{ license_file }}">click here</a>{% endcapture %}
{% endif %}
- </div>
- </div>
- </div>
- <div style="display: table-row;">
- <div style="display: table-cell;">
- <div class="text-center text-muted">This page was generated on {{ site.time | date: '%-d %B %Y' }}.</div>
- </div>
+
+{% 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 }}
+</div>
+
</div>
</div>
</div>