浏览代码

fix: update footer condition to include preview environment for changelog link

codecalm 3 月之前
父节点
当前提交
ef9d75f32f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      shared/includes/layout/footer.html

+ 1 - 1
shared/includes/layout/footer.html

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