enten / hyde-y

Enhanced port of the Jekyll "Hyde" theme to Hugo
MIT License
88 stars 62 forks source link

CSS broken with non-root sites #22

Closed hslabbert closed 7 years ago

hslabbert commented 8 years ago

Running a Hugo site in a non-root directory (e.g. ~user/blog) results in a broken CSS with the hyde-y theme. Specifically, the following stylesheet URLs reference the root directory rather than the baseurl setting:

<link rel="stylesheet" href="http://localhost:1313/css/font-awesome.min.css">
<link rel="stylesheet" href="http://localhost:1313/css/style.css">
<link rel="stylesheet" href="http://localhost:1313/css/highlight/default.css">

Those should be referencing the non-root baseurl value. Note that canonifyurls was set to true when testing this.