Skip to content

Commit

Permalink
docs: include baseurl for favicon
Browse files Browse the repository at this point in the history
In line with other links in the docs, include the jekyll baseurl in the favicon
reference.  This allows docs to be hosted at a different path than root, and
still have a favicon.
  • Loading branch information
alxndrsn committed Aug 10, 2023
1 parent e28a62a commit 8daff2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
})();
</script>
<link href='//fonts.googleapis.com/css?family=Lato:400,700|Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="icon" href="/static/favicon.ico" type="image/x-icon"/>
<link rel="icon" href="{{ site.baseurl }}/static/favicon.ico" type="image/x-icon"/>
</head>

<body data-spy="scroll" data-target="#sidebar">
Expand Down

0 comments on commit 8daff2b

Please sign in to comment.