Compare commits

..
4 Commits
Author SHA1 Message Date
Cian-H ca9b574669 chore: version bump 2026-08-14 14:35:13 +01:00
Cian-H 0d544fdc8e Attempted to fix favicon display 2026-08-14 14:34:57 +01:00
Cian-H 154d77e187 Updated dependencies 2026-08-14 14:34:24 +01:00
Cian-H c177eaffc3 Fixed coverage testing 2026-08-14 14:30:28 +01:00
7 changed files with 2660 additions and 2241 deletions
+1 -1
View File
@@ -8,4 +8,4 @@
"""Metadata for this python module."""
__version__ = "2026.8.13"
__version__ = "2026.8.14"
+4
View File
@@ -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 }}" />
+2 -2
View File
@@ -100,12 +100,12 @@ ignore-vcs = true
# Testing configuration
[tool.pytest]
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_config_iform --cov-report=term-missing tests invenio_theme_iform"
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_theme_iform --cov-report=term-missing tests invenio_theme_iform"
testpaths = ["tests", "invenio_theme_iform"]
live_server_scope = "module"
[tool.pytest.ini_options]
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_config_iform --cov-report=term-missing tests invenio_theme_iform"
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_theme_iform --cov-report=term-missing tests invenio_theme_iform"
testpaths = ["tests", "invenio_theme_iform"]
live_server_scope = "module"
Generated
+2651 -2236
View File
File diff suppressed because it is too large Load Diff