️ fix: add missing quotes to HTML attributes (#367)

This commit is contained in:
Arnold Loubriat
2024-08-23 20:54:13 +02:00
committed by GitHub
parent 37df94db9f
commit ce3be5c007
4 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
{%- if generate_feed and config.extra.feed_icon and feed_url -%}
<li>
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href={{ get_url(path=feed_url, lang=lang, trailing_slash=false) | safe }}>
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href="{{ get_url(path=feed_url, lang=lang, trailing_slash=false) | safe }}">
<img alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}">
</a>
</li>
@@ -56,8 +56,8 @@
{%- if config.extra.socials %}
{% for social in config.extra.socials %}
<li>
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }} me" {{ blank_target }} href={{ social.url | safe }}>
<img alt={{ social.name }} title={{ social.name }} src="{{ get_url(path='social_icons/' ~ social.icon ~ '.svg') }}">
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }} me" {{ blank_target }} href="{{ social.url | safe }}">
<img alt="{{ social.name }}" title="{{ social.name }}" src="{{ get_url(path='social_icons/' ~ social.icon ~ '.svg') }}">
</a>
</li>
{% endfor %}

View File

@@ -1,7 +1,7 @@
<header>
<nav class="navbar">
<div class="nav-title">
<a class="home-title" href={{ get_url(path="/", lang=lang) }}>{{ config.title }}</a>
<a class="home-title" href="{{ get_url(path='/', lang=lang) }}">{{ config.title }}</a>
</div>
{%- if config.extra.menu %}