Skip to content

Commit

Permalink
Add baseurl to favicon (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent committed Sep 15, 2024
1 parent 53f048c commit dab7a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<link rel="canonical" href="{{ page.canonical_url | replace: 'index.html', '' }}">
<meta http-equiv="refresh" content="0; url={{ page.canonical_url | replace: 'index.html', '' }}" />
<script>
window.location.href = '{{ page.canonical_url | replace: 'index.html','' }}';
window.location.href = "{{ page.canonical_url | replace: 'index.html','' }}";
</script>
{% else %}
<link rel="canonical" href="{{ page.url | replace: 'index.html', '' | prepend: site.baseurl | prepend: site.url }}">
{% endif %}

<link rel="icon" sizes="any" type="image/svg+xml" href="/assets/rosindex_logo.svg">
<link rel="icon" sizes="any" type="image/svg+xml" href="{{ site.baseurl }}/assets/rosindex_logo.svg">

{% if page.css_uris %}
{% for css_uri in page.css_uris %}
Expand Down

0 comments on commit dab7a5f

Please sign in to comment.