Skip to content

Commit

Permalink
Fix failure to fetch CSS.
Browse files Browse the repository at this point in the history
Bug: CSS can't be fetched after installing the gem.
Expectation: CSS should be loaded properly from the header.html file.
Replication: Just install the gem on a jekyll site.
Cause: The base url is not properly configured.
Solution: Change {{ site.baseurl }} to "/". poole/hyde#213
  • Loading branch information
emcorrales committed May 12, 2018
1 parent 5761d16 commit 82f5a07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
</title>

<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde-plus.css">
<link rel="stylesheet" href="/public/css/poole.css">
<link rel="stylesheet" href="/public/css/syntax.css">
<link rel="stylesheet" href="/public/css/hyde.css">
<link rel="stylesheet" href="/public/css/hyde-plus.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Expand Down

0 comments on commit 82f5a07

Please sign in to comment.