added favicon setting

This commit is contained in:
Muammer Top 2021-02-10 10:54:42 +03:00
parent 659feb6869
commit 6872c08225
3 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ return [
'general' => [
'title' => 'visiosoft.module.advs::section.general',
'fields' => [
'favicon',
'market_place',
'show_lang_url',
'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" %}
<!-- Favicon -->
{#{{ favicons("theme::img/favicon.png") }}#}
{{ favicons(file(setting_value('visiosoft.module.advs::favicon')).url) }}
{# Base Theme Components #}
{{ asset_add("theme.css", "visiosoft.theme.base::css/base.css") }}