Skip to content

Commit

Permalink
chore: Newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 1, 2024
1 parent 0d6bc8f commit 28619fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/macros/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<ul class="menu__inner">
{%- for item in menu_items %}
<li {%- if current_item and current_item == item %} class="active" {%- endif %}>

{%- if item.newtab -%}
<a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) | safe }}" target="_blank" rel="noopener noreferrer">{{ item.name | safe }}</a>
{%- else -%}
Expand All @@ -47,7 +46,6 @@

<!-- RSS -->
{%- set is_rss = item.url == "$BASE_URL/$FEED_FILENAME" -%}

{%- if is_rss and config.generate_feed %}
<a type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}">
<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
Expand Down

0 comments on commit 28619fa

Please sign in to comment.