mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-08-14 15:43:22 +01:00
Attempted to fix favicon display
This commit is contained in:
@@ -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."""
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 330 KiB |
@@ -39,7 +39,7 @@
|
||||
<title>{{ title }}</title>
|
||||
{%- endblock head_title %}
|
||||
{%- block head_links %}
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" />
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename=config.THEME_FAVICON or 'images/iform-favicon.ico') }}" />
|
||||
{%- if keywords %}<link rel="canonical" href="{{ canonical_url }}" />{% endif %}
|
||||
{%- block head_links_langs %}
|
||||
{%- if alternate_urls %}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
{%- endblock head_title %}
|
||||
|
||||
{%- block head_links %}
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" />
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename=config.THEME_FAVICON or 'images/iform-favicon.ico') }}" />
|
||||
|
||||
{%- if keywords %}
|
||||
<link rel="canonical" href="{{ canonical_url }}" />
|
||||
|
||||
Reference in New Issue
Block a user