Closed hslabbert closed 7 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:
baseurl
<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.
canonifyurls
true
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:Those should be referencing the non-root
baseurl
value. Note thatcanonifyurls
was set totrue
when testing this.