Merge pull request #946 from openclassify/muammertop

added favicon setting
This commit is contained in:
Dia Shalabi 2021-02-11 18:01:04 +03:00 committed by GitHub
commit b0175c4841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ return [
'general' => [ 'general' => [
'title' => 'visiosoft.module.advs::section.general', 'title' => 'visiosoft.module.advs::section.general',
'fields' => [ 'fields' => [
'favicon',
'market_place', 'market_place',
'show_lang_url', 'show_lang_url',
'iban_numbers', 'iban_numbers',

View File

@ -381,4 +381,7 @@ return [
}, },
], ],
], ],
'favicon' => [
'type' => 'anomaly.field_type.file',
]
]; ];

View File

@ -7,7 +7,7 @@
{% include "visiosoft.theme.base::partials/metatags" %} {% include "visiosoft.theme.base::partials/metatags" %}
<!-- Favicon --> <!-- Favicon -->
{#{{ favicons("theme::img/favicon.png") }}#} {{ favicons(file(setting_value('visiosoft.module.advs::favicon')).url) }}
{# Base Theme Components #} {# Base Theme Components #}
{{ asset_add("theme.css", "visiosoft.theme.base::css/base.css") }} {{ asset_add("theme.css", "visiosoft.theme.base::css/base.css") }}