1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

jekyll generated date in footer

fix #932
This commit is contained in:
codecalm
2021-11-06 12:05:20 +01:00
parent 59fbe1b7d7
commit 886c137af7

View File

@@ -22,7 +22,13 @@
All rights reserved.
</li>
<li class="list-inline-item">
<a href="{{ site.base }}/changelog.html" class="link-secondary" rel="noopener">v{{ site.data.package.version }}</a>
{% if jekyll.environment == 'production' %}
<a href="{{ site.base }}/changelog.html" class="link-secondary" rel="noopener">
v{{ site.data.package.version }}
</a>
{% else %}
Generated {{ site.time | date: '%Y-%m-%d %H:%M %Z' }}
{% endif %}
</li>
</ul>
</div>