Skip to content

Commit

Permalink
fix: page link path indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorezz committed Aug 1, 2024
1 parent 3023ee4 commit e4c9d5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/partials/links/_link_internal.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ ruby:
label ||= cta_label(item)
white_outline ||= nil
border = white_outline ? "box-shadow: inset 0 0 0 2px white" : ""
page_link_path = item.anchor&.present? ? page_path_with_anchor(item.link, "##{item.anchor}") : page_path(item.link)

page_link_path = item.anchor&.present? ? page_path_with_anchor(item.link, "##{item.anchor}") : page_path(item.link)

= proxy_link_to label,
page_link_path,
Expand Down

0 comments on commit e4c9d5a

Please sign in to comment.