Преглед на файлове

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>