jekyll-netlify icon indicating copy to clipboard operation
jekyll-netlify copied to clipboard

Set site.url

Open jayvdb opened this issue 7 years ago • 1 comments

Jekyll uses site.url for providing absolute urls when it is needed, such as is good practise in files like feed.xml, robots.txt and sitemap.xml.

jayvdb avatar Feb 08 '18 06:02 jayvdb

Mostly fixed in https://github.com/jayvdb/jekyll-netlify/commit/e7efada373bd18f92346b432d37ff045103edc85

It only uses the git hash identified URL for branches & PRs , as that is the only URL which is always correct.

I feel like there should be some switch to allow the less precise, but more useful, branch name and deploy-preview URLs.

jayvdb avatar Feb 17 '18 01:02 jayvdb