提交 886c137a 编写于 作者: C codecalm

jekyll generated date in footer

fix #932
上级 59fbe1b7
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册