Skip to content

Commit

Permalink
Fix external link image location
Browse files Browse the repository at this point in the history
In CSS urls, the URL is relative to the CSS file.
  • Loading branch information
arvindsv committed Jun 14, 2019
1 parent 392ebfd commit e789eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/hugo-book/assets/book.scss
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ a.navigation {
flex-direction: row;

& a[href^='http']:after {
content: url('/images/external-link-ltr-icon.png');
content: url('../images/external-link-ltr-icon.png');
margin-left: 3px;
position: absolute;
}
Expand Down

0 comments on commit e789eb7

Please sign in to comment.