Browse Source

Update footer to display version only in production environment

codecalm 1 month ago
parent
commit
40750e1cb7
1 changed files with 1 additions and 1 deletions
  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>