type-theme
type-theme copied to clipboard
A question about _config.yml site.url
Hi.
While I make sitemap.xml file to submit to a search console,
I wonder that why _config.yml site.url should have / at last.
Similar to the PR #99,
because site.url has / in last, there is two slashes // in sitemap.xml.
For instance, in the case of the last version of _config.yml 4380fa6f7f0a04244c11ff5d9dfe3e8487eb15d9,
my sitemap.xml generates a url like https://rohanchandra.github.io///2014/11/30/sample-post.html.
I changed the code like b89c2fa11b5593c0cd60ce7cc526737307302248 or
url: “https://rohanchandra.github.io”
I don’t open PR yet, because I don’t know whether this issue is intended or not, more even related or not. Please let me know it is okay to change.