mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
Patch: revert static routes from package level to relative
This commit is contained in:
@@ -8,4 +8,4 @@
|
||||
|
||||
"""Metadata for this python module."""
|
||||
|
||||
__version__ = "2025.6.6.2"
|
||||
__version__ = "2025.6.6.3"
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<title>{{ title }}</title>
|
||||
{%- endblock head_title %}
|
||||
{%- block head_links %}
|
||||
<link rel="shortcut icon" href="{{ url_for('invenio_theme_iform.static', filename='favicon.ico') }}" />
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" />
|
||||
{%- if keywords %}<link rel="canonical" href="{{ canonical_url }}" />{% endif %}
|
||||
{%- block head_links_langs %}
|
||||
{%- if alternate_urls %}
|
||||
@@ -58,7 +58,7 @@
|
||||
<link
|
||||
rel="apple-touch-icon-precomposed"
|
||||
sizes="{{ size }}x{{ size }}"
|
||||
href="{{ url_for('invenio_theme_iform.static', filename=icon_name) }}"
|
||||
href="{{ url_for('static', filename=icon_name) }}"
|
||||
/>
|
||||
{%- endfor %}
|
||||
{%- endblock head_apple_icons %}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Log in with
|
||||
{{ config.SSO_SAML_IDPS[name]['title']|default("SAML", true) }}
|
||||
<img
|
||||
src="{{ url_for('invenio_theme_iform.static', filename=config.INVENIO_THEME_IFORM_ICON) }}"
|
||||
src="{{ url_for('static', filename=config.INVENIO_THEME_IFORM_ICON) }}"
|
||||
height="20px"
|
||||
/>
|
||||
</a>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
>
|
||||
<span style="font-size: 18px;">Sign up with I-Form</span>
|
||||
<img
|
||||
src="{{ url_for('invenio_theme_iform.static', filename=config.INVENIO_THEME_IFORM_ICON) }}"
|
||||
src="{{ url_for('static', filename=config.INVENIO_THEME_IFORM_ICON) }}"
|
||||
height="20px"
|
||||
/>
|
||||
</a>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
{%- endblock head_title %}
|
||||
|
||||
{%- block head_links %}
|
||||
<link rel="shortcut icon" href="{{ url_for('inveino_theme_iform.static', filename='favicon.ico') }}" />
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" />
|
||||
|
||||
{%- if keywords %}
|
||||
<link rel="canonical" href="{{ canonical_url }}" />
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
title="invenioRDM"
|
||||
>
|
||||
<img
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/inveniordm-tail.svg') }}"
|
||||
src="{{ url_for('static', filename='images/inveniordm-tail.svg') }}"
|
||||
alt="InvenioRDM logo"
|
||||
style="display: block; height: 90px; margin-top: 8px;"
|
||||
/>
|
||||
@@ -148,7 +148,7 @@
|
||||
title="Science Foundation Ireland"
|
||||
>
|
||||
<img
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/SFI_logo.png') }}"
|
||||
src="{{ url_for('static', filename='images/SFI_logo.png') }}"
|
||||
alt="Science Foundation Ireland"
|
||||
style="display: block; height: auto; margin-top: 15px; width: 230px;"
|
||||
/>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<a href="{{ creators.identifiers.orcid|pid_url('orcid') }}" target="_blank"
|
||||
><img
|
||||
class="inline-orcid"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='extra/orcid.png') }}"
|
||||
src="{{ url_for('static', filename='extra/orcid.png') }}"
|
||||
/></a>
|
||||
{%- endif %}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<img
|
||||
width="400px"
|
||||
alt="Research Results"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/diamond.svg') }}"
|
||||
src="{{ url_for('static', filename='images/diamond.svg') }}"
|
||||
/>
|
||||
</a>
|
||||
<div class="ui right floated text">
|
||||
@@ -48,7 +48,7 @@
|
||||
<img
|
||||
width="400px"
|
||||
alt="Communities"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/group-discussion.svg') }}"
|
||||
src="{{ url_for('static', filename='images/group-discussion.svg') }}"
|
||||
/>
|
||||
</a>
|
||||
<div>Overview: Description of Communities</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
<img
|
||||
width="400px"
|
||||
alt="Requests"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/umbrella.svg') }}"
|
||||
src="{{ url_for('static', filename='images/umbrella.svg') }}"
|
||||
/>
|
||||
</a>
|
||||
<div>Overview: Description of Requests</div>
|
||||
@@ -112,7 +112,7 @@
|
||||
<img
|
||||
width="400px"
|
||||
alt="Research Results"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/diamond.svg') }}"
|
||||
src="{{ url_for('static', filename='images/diamond.svg') }}"
|
||||
/>
|
||||
</div>
|
||||
<div class="ui right floated text">
|
||||
@@ -143,7 +143,7 @@
|
||||
<img
|
||||
width="400px"
|
||||
alt="Open Educational Resources"
|
||||
src="{{ url_for('invenio_theme_iform.static', filename='images/play.svg') }}"
|
||||
src="{{ url_for('static', filename='images/play.svg') }}"
|
||||
/>
|
||||
</a>
|
||||
<div>Overview: Description for open educational resources</div>
|
||||
|
||||
Reference in New Issue
Block a user