Browse Source

Update footer to display version only in production environment

codecalm 7 tháng trước cách đây
mục cha
commit
40750e1cb7

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

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