Skip to content

Commit

Permalink
fix(web/twig): ems_template_exists use template builder (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 authored Dec 16, 2024
1 parent 9bc747d commit 6db517d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton/template/variables.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% set wyiwygReplaces = {
'src="https://www.youtube.com/': 'allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen src="https://www.youtube-nocookie.com/',
} %}
{% do emsch_assets_version(include('@EMSCH/template/asset_hash.twig'), null) %}
{% do emsch_assets_version(ems_template_exists('@EMSCH/template/asset_hash.twig') ? include('@EMSCH/template/asset_hash.twig') : 'demo', null) %}
{% set baseUrl = '/' %}
{% if app.user %}
{% set baseUrl = "/channel/#{trans_default_domain}" %}
Expand Down

0 comments on commit 6db517d

Please sign in to comment.