diff --git a/invenio_theme_iform/config.py b/invenio_theme_iform/config.py index 7c68d7c..493ebbd 100644 --- a/invenio_theme_iform/config.py +++ b/invenio_theme_iform/config.py @@ -9,6 +9,7 @@ """invenio module for I-Form theme.""" from flask_babel import lazy_gettext as _ + I18N_LANGUAGES = [ ("en", _("English")), ("ga", _("Irish")), @@ -53,6 +54,9 @@ THEME_500_TEMPLATE = "invenio_theme_iform/default_error.html" THEME_LOGO = "images/iform_logo.png" """I-Form logo""" +THEME_FAVICON = "images/iform-favicon.ico" +"""I-Form favicon""" + THEME_SEARCHBAR = False """Enable or disable the header search bar.""" diff --git a/invenio_theme_iform/static/favicon.ico b/invenio_theme_iform/static/images/iform-favicon.ico similarity index 100% rename from invenio_theme_iform/static/favicon.ico rename to invenio_theme_iform/static/images/iform-favicon.ico diff --git a/invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html b/invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html index 878957f..19df52d 100644 --- a/invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html +++ b/invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html @@ -39,7 +39,7 @@ {{ title }} {%- endblock head_title %} {%- block head_links %} - + {%- if keywords %}{% endif %} {%- block head_links_langs %} {%- if alternate_urls %} diff --git a/invenio_theme_iform/templates/invenio_theme_iform/base.html b/invenio_theme_iform/templates/invenio_theme_iform/base.html index 7a7492e..e842a72 100644 --- a/invenio_theme_iform/templates/invenio_theme_iform/base.html +++ b/invenio_theme_iform/templates/invenio_theme_iform/base.html @@ -36,7 +36,7 @@ {%- endblock head_title %} {%- block head_links %} - + {%- if keywords %}