Conversation
|
This change is needed to fix the base url in #249 for creating previews
|
I tried to make the paths relative, but Hugo seems not to accept some little amount of links and makes them relative to the root instead of the current path. That makes the link checker pointless. |
|
I think one issue could be that the base URL doesn't end in a trailing slash. I didn't run Hugo myself, but in the following HTML: <head>
<base href="/pr-249">
</head>
<body>
<a href="./page">Page</a>
<a href="page">equivalent link</a>
</body>the links will actually point to The other issue is that with Lastly, I think the build script is not necessary because Hugo can be configured through environment variables, according to the docs. I believe it should suffice to set the env var |
No description provided.