Fix URL generation in sitemap generator

This commit is contained in:
erciccione 2020-07-24 18:18:45 +02:00
parent 9bfde279ff
commit c235ca1db7
No known key found for this signature in database
GPG key ID: 762AF8C608E56CDF

View file

@ -181,7 +181,7 @@ module Jekyll
# Returns the location of the page or post
def fill_location(site, page_or_post)
loc = REXML::Element.new "loc"
url = site.config['url'] + site.config['baseurl']
url = site.config['baseurl']
loc.text = page_or_post.location_on_server(url)
loc