Skip to content

Commit

Permalink
arrow.svg absURL (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-h authored Feb 13, 2024
1 parent 344f5fe commit bb8ee8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/hugo-bulma-blocks-theme/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ if .HasChildren }}
<div class="has-child">
<a href="{{ trim .URL "/" | absURL }}">{{ .Name }}</a>
<span onclick="toggleSubMenu('{{ $menuItemID }}')" class="drop-arrow"><img src="/img/arrow.svg"/></span>
<span onclick="toggleSubMenu('{{ $menuItemID }}')" class="drop-arrow"><img src="{{ "img/arrow.svg" | absURL }}"/></span>
</div>
<ul id="{{ $menuItemID }}" class="collapsed">
{{ range sort .Children "Weight" }}
Expand All @@ -21,7 +21,7 @@
{{ if .HasChildren }}
<div class="has-child">
<a href="{{ trim .URL "/" | absURL }}">{{ .Name }}</a>
<span onclick="toggleSubMenu('{{ $innerMenuItemID }}')" class="drop-arrow"><img src="/img/arrow.svg"/></span>
<span onclick="toggleSubMenu('{{ $innerMenuItemID }}')" class="drop-arrow"><img src="{{ "img/arrow.svg" | absURL }}"/></span>
</div>
<ul id="{{ $innerMenuItemID }}" class="collapsed">
{{ range sort .Children "Weight" }}
Expand Down

0 comments on commit bb8ee8a

Please sign in to comment.