Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

A question about _config.yml site.url #100

@dev-onejun

Description

@dev-onejun

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 4380fa6,
my sitemap.xml generates a url like https://rohanchandra.github.io///2014/11/30/sample-post.html.

I changed the code like b89c2fa 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions