dynamic header logo
parent
03cb935124
commit
51bafda3f5
|
@ -38,12 +38,12 @@
|
|||
"settings": [
|
||||
{
|
||||
"type": "image_picker",
|
||||
"id": "shx_logo2",
|
||||
"id": "shx_logo_figuren",
|
||||
"label": "t:settings_schema.logo.settings.logo_image.label"
|
||||
},
|
||||
{
|
||||
"type": "range",
|
||||
"id": "shx_logo2_width",
|
||||
"id": "shx_logo_figuren_width",
|
||||
"min": 50,
|
||||
"max": 300,
|
||||
"step": 10,
|
||||
|
@ -53,7 +53,7 @@
|
|||
},
|
||||
{
|
||||
"type": "image_picker",
|
||||
"id": "shx_favicon2",
|
||||
"id": "shx_favicon_figuren",
|
||||
"label": "t:settings_schema.logo.settings.favicon.label",
|
||||
"info": "t:settings_schema.logo.settings.favicon.info"
|
||||
}
|
||||
|
|
|
@ -191,14 +191,6 @@
|
|||
endif
|
||||
%}
|
||||
|
||||
{% assign logo_image = settings.logo %}
|
||||
|
||||
{% if shx_current_page contains "texte" %}
|
||||
{% assign logo_image = settings.logo %}
|
||||
{% else %}
|
||||
{% assign logo_image = settings.shx_logo2 %}
|
||||
{% endif %}
|
||||
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo motion-reduce',
|
||||
widths: widths,
|
||||
|
|
Loading…
Reference in New Issue