Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the path before setting site.url #77

Merged
merged 8 commits into from
Oct 7, 2016

Conversation

parkr
Copy link
Member

@parkr parkr commented Oct 7, 2016

@benbalter Got a problem. Right now, if you have https://benbalter.github.io/maps/ as site.github.url, you get:

  • baseurl = "/maps/"
  • url = "https://benbalter.github.io/maps/"

This means minima is providing bad url's.

@parkr parkr added the bug label Oct 7, 2016
@parkr parkr assigned parkr and benbalter and unassigned parkr Oct 7, 2016
@parkr
Copy link
Member Author

parkr commented Oct 7, 2016

/cc @jekyll/gh-pages

def set_url_and_baseurl_fallbacks!
return unless Jekyll.env == "production"

parsed_url = URI(drop.url)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@parkr
Copy link
Member Author

parkr commented Oct 7, 2016

@benbalter Updated!

@parkr
Copy link
Member Author

parkr commented Oct 7, 2016

@jekyllbot: merge +bug

@jekyllbot jekyllbot merged commit 1d47cbf into master Oct 7, 2016
@jekyllbot jekyllbot deleted the site-url-is-totally-effd branch October 7, 2016 23:25
jekyllbot added a commit that referenced this pull request Oct 7, 2016
@jekyll jekyll locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants