Skip to content

Commit

Permalink
Fixed prettier complaints
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <george.gcac@gmail.com>
  • Loading branch information
george-gca committed Nov 28, 2024
1 parent d334ce6 commit d8c900c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
{% if child.title == 'divider' %}
<div class="dropdown-divider"></div>
{% else %}
<a class="dropdown-item {% if page.title == child.title %}active{% endif %}" href="{% if child.permalink contains '://' %}{{ child.permalink }}{% else %}{{ child.permalink | relative_url }}{% endif %}">
<a
class="dropdown-item {% if page.title == child.title %}active{% endif %}"
href="{% if child.permalink contains '://' %}{{ child.permalink }}{% else %}{{ child.permalink | relative_url }}{% endif %}"
>
{{- child.title -}}
</a>
{% endif %}
Expand All @@ -102,7 +105,7 @@
{%- elsif p.permalink contains '/blog/' -%}
{%- assign url = '/blog/' -%}
{%- else -%}
{%- assign url = p.url-%}
{%- assign url = p['url-'] %}
{%- endif %}
<a class="nav-link" href="{{ url | relative_url }}">
{{- p.title }}
Expand Down

0 comments on commit d8c900c

Please sign in to comment.