relativeURLs is not working

I want relative URLs so a preview site’s links work. I set the configuration here:

But it doesn’t appear to work. What am I missing?

git clone git@github.com:kaihendry/netlify-cms-testing.git
cd netlify-cms-testing/
hugo
grep blog public/index.html

Use .RelPermalink here: https://github.com/kaihendry/netlify-cms-testing/blob/master/layouts/index.html#L15

So what’s the point of relativeURLs: true … rather confusing.

doc

Setting relativeURLs to true in your site configuration will cause Hugo to rewrite all relative URLs to be relative to the current content.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.