Commit c1a02d62 authored by Simon's avatar Simon

release 1.29.1

parent a9060217
......@@ -20,9 +20,9 @@
## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.29.0 .` (update version number)
- build new image `docker build -t biuro/web:1.29.1 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.29.0`
- push image to docker repository - `docker push biuro/web:1.29.1`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -156,6 +156,10 @@
<script src="/wp-content/themes/biuro/js/vendor/modernizr-custom.js" async defer></script>
<?php wp_footer(); ?>
<?php
if (get_post_meta( get_the_ID(), 'load-scripts', true ) == true):
wp_footer();
endif;
?>
</body>
</html>
......@@ -142,7 +142,7 @@
<source type="image/webp" media="(max-width: 959px)" srcset="/wp-content/themes/biuro/i/newsletter/newsletter-sm.webp">
<source type="image/webp" srcset="/wp-content/themes/biuro/i/newsletter/newsletter.webp">
<source media="(max-width: 959px)" srcset="/wp-content/themes/biuro/i/newsletter/newsletter-sm.png">
<img loading="lazy" srcset="/wp-content/themes/biuro/i/newsletter/newsletter.png" alt="" width="278" height="345">
<img loading="lazy" src="/wp-content/themes/biuro/i/newsletter/newsletter.png" alt="" width="278" height="345">
</picture>
<svg xmlns="http://www.w3.org/2000/svg" width="95px" height="95px" viewBox="0 0 95 95" class="c-newsletter--ico">
<path fill="#FFFFFF" d="M91.769,30.525L66.673,10.365C62.572,7.086,55.56,0,47.5,0 c-7.735,0-14.473,6.516-18.72,9.997l-0.453,0.367C23.788,13.973,4.007,29.883,3.25,30.505C1.456,31.98,0,35.063,0,37.385v48.709 C0,91.012,3.987,95,8.906,95h77.188C91.013,95,95,91.012,95,86.094V37.389C95,35.075,93.552,32,91.769,30.525z M86,84.889 C86,85.502,85.502,86,84.889,86H10.111C9.498,86,9,85.502,9,84.889v-46.95c0-0.335,0.151-0.653,0.412-0.864l24.5-19.674 C37.274,14.716,43.131,9,47.5,9c4.294,0,10.092,5.567,13.381,8.235l14.762,11.839c4.544,3.653,8.645,6.955,9.945,8.006 c0.199,0.161,0.365,0.477,0.403,0.749L86,37.943V84.889z M80.495,49.352c0.784,0.98,0.64,2.431-0.322,3.227L67.077,63.385 C62.887,66.833,55.976,74,48,74c-7.881,0-14.762-7.014-18.861-10.435L15.828,52.579l0,0c-0.962-0.796-1.106-2.247-0.322-3.227 l2.817-3.521c0.771-0.964,2.152-1.11,3.098-0.328l13.027,10.75c3.241,2.664,9.179,8.625,13.553,8.625 c4.172,0,9.705-5.379,13.112-8.257L74.58,45.503l0,0c0.946-0.782,2.327-0.636,3.098,0.328L80.495,49.352z"/>
......@@ -162,10 +162,10 @@
<?php wp_nonce_field('newsletters_post_nonce', '_wpnonce_newsletters'); ?>
</form>
<div class="c-newsletter--privacy"><?php _e('We process your personal data to send you newsletters. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro'); ?></div>
</div><!-- .c-newsletter--content -->
</div>
</div><!-- .c-newsletter--inner -->
</div>
</div><!-- .c-newsletter -->
<?php
......
......@@ -63,7 +63,9 @@
</noscript>
<?php
wp_head();
if (get_post_meta( get_the_ID(), 'load-scripts', true ) == true):
wp_head();
endif;
if (get_post_type() == 'page'):
$langs = pll_the_languages(array(
......
......@@ -318,9 +318,9 @@ get_header();
?> <meta itemprop="minValue" content="<?php echo $pod->field( 'salary_from' ); ?>" />
<meta itemprop="maxValue" content="<?php echo $pod->field( 'salary_to' ); ?>" />
<?php elseif ($pod->field( 'salary_from' ) > 0):
?> <meta itemprop="value" content="<?php echo intval($pod->field( 'salary_from' )); ?>" />
?> <meta itemprop="value" content=<?php echo intval($pod->field( 'salary_from' )); ?> />
<?php elseif ($pod->field( 'salary_to' ) > 0):
?> <meta itemprop="value" content="<?php echo intval($pod->field( 'salary_to' )); ?>" />
?> <meta itemprop="value" content=<?php echo intval($pod->field( 'salary_to' )); ?> />
<?php endif;
?> </div>
<?php
......
......@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.29.0
Version: 1.29.1
Text Domain: biuro
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment