I did this <link rel="stylesheet" href="{{ "css/style.css" | relURL}}">
it doesn’t render the css properly on the hugo server it works. The rendered file attaches localhost/to the css path. I tried making the BaseURL = “/”, that didn’t work as well.
I noticed when I have the href as “/css/style.css” it loads the css as /css/style.css on public but that doesn’t open the css file.
I removed the / from the path - href = "css/style.css" That makes the homepage css to work properly but the other pages don’t.
So this doesn’t work on my end. What’s the best solution especially with the fact that other pages are suppose to also render css with …/css/style.css?