mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Fixed raw filter
This commit is contained in:
parent
264614762d
commit
3c49ff2772
1 changed files with 2 additions and 2 deletions
4
templates/partials/logo.html.twig
Normal file → Executable file
4
templates/partials/logo.html.twig
Normal file → Executable file
|
@ -1,8 +1,8 @@
|
|||
{% set logo = theme_var('custom_logo_mobile') ?: theme_var('custom_logo') %}
|
||||
<a href="{{ home_url }}" class="logo" rel="nofollow" title="{{ site.title }}">
|
||||
<a href="{{ home_url }}" class="logo" rel="nofollow" title="{{ site.title|raw }}">
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title }}"/>
|
||||
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title|raw }}"/>
|
||||
{% else %}
|
||||
{% include('@images/grav-logo.svg') %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue