소스 검색

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.
 						All rights reserved.
 					</li>
 					</li>
 					<li class="list-inline-item">
 					<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">
 						<a href="{{ page | relative }}/changelog.html" class="link-secondary" rel="noopener">
 							v{{ package.version }}
 							v{{ package.version }}
 						</a>
 						</a>