My main site here. looks fine, but if you press the first post you get greeted by a no css page. Upon close inspection one can see that css path in every page is "assets/some.css" when it should be something like "../../assets/some.css". Any helpful suggestions on a solution?
Here is the Terminal theme I’ve added by git add submodule:
Here is my config.toml:
title = "Arkid's Place"
theme = 'terminal'
publishdir = '/var/www/html/'
paginate = 5
[params]
contentTypeName = "posts"
themeColor = "blue"
showMenyItems = 2
fullWidthTheme = false
centerTheme = false
autoCover = false
favicon = "icon/favicon.ico"
showLastUpdated = true
readingTime = true
Toc = true
# TocTitle = "Table of Contents"```
Sorry, but I haven't and won't put my site in a repo, but I assume this is enough relevant data to make helping easier.
This is the line that generates the HTML for the CSS file. It uses the absURL function which generates a URL based on the baseURL variable, set in config.toml.
Thank you, that sounds like my problem exactly. I didn’t want to put a baseUrl as I have 3 domains pointing to my site, but I assume that putting only one of them allows the page to pull the appropriate stylesheet which solves my issue.
So I went ahead and put one of my domains as the baseUrl and my problem was fixed.