Skip to content
Snippets Groups Projects
Commit 5fa73b82 authored by Norman Kämper-Leymann's avatar Norman Kämper-Leymann Committed by Sascha Eggenberger
Browse files

#3475361 Fix relative links when Drupal project resides in a sub directory

parent 0c0ef605
No related branches found
No related tags found
3 merge requests!518Issue 3480661: Add padding to bottom of ckeditor content.,!501#3475361 Fix relative links when Drupal project resides in a sub directory,!228Issue #3342164: Remove implicit dependency on node module for gin content form
Pipeline #289536 passed
......@@ -13,11 +13,11 @@
<ul class="toolbar-menu" data-once="toolbar-menu" aria-labelledby="menu--logo">
<li class="toolbar-menu__item toolbar-menu__item--level-1">
{% if icon_path %}
<a class="toolbar-link" href="/">
<a class="toolbar-link" href="{{ path('<front>') }}">
<img alt="{{ 'Home'|t }}" src="{{ file_url(icon_path) }}" loading="eager" />
</a>
{% else %}
<a href="/" class="toolbar-link toolbar-link--has-icon toolbar-link--gin-home">
<a href="{{ path('<front>') }}" class="toolbar-link toolbar-link--has-icon toolbar-link--gin-home">
<span>{{ 'Home'|t }}</span>
</a>
{% endif %}
......
......@@ -41,7 +41,7 @@
<div{{ tab.attributes.addClass('toolbar-tab', user_menu, tab.link['#id'] ? 'toolbar-tab--' ~ tab.link['#id'] : null) }}>
{% endif %}
{% if tab.link['#id'] == 'toolbar-item-administration' %}
<a class="toolbar-menu__logo" href="/admin/content" aria-label="{{ 'Toolbar Menu Logo'|t }}">
<a class="toolbar-menu__logo" href="{{ path('system.admin_content') }}" aria-label="{{ 'Toolbar Menu Logo'|t }}">
<span class="visually-hidden">{{ 'Toolbar Menu Logo'|t }}</span>
</a>
{{ tab.link }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment