浏览代码

Update footer to display version only in production environment

codecalm 7 月之前
父节点
当前提交
40750e1cb7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/_includes/layout/footer.html

+ 1 - 1
src/pages/_includes/layout/footer.html

@@ -22,7 +22,7 @@
 						All rights reserved.
 					</li>
 					<li class="list-inline-item">
-						{% if environment == 'preview' or environment == 'production' %}
+						{% if environment == 'production' %}
 						<a href="{{ page | relative }}/changelog.html" class="link-secondary" rel="noopener">
 							v{{ package.version }}
 						</a>