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

Removed slash between site.baseurl and post.url #105

Closed
wants to merge 1 commit into from
Closed

Removed slash between site.baseurl and post.url #105

wants to merge 1 commit into from

Conversation

thde
Copy link

@thde thde commented Apr 22, 2015

I think there shouldn't be a slash between {{ site.baseurl }} and {{ post.url }}:

Jekyll URL image

If the theme is used on the root path, it will create a url like //my-post

@nickserv
Copy link
Contributor

👍 This is what the Jekyll docs recommend for GitHub Pages:

When doing permalinks or internal links, do it like this: {{ site.baseurl }}{{ post.url }} – note that there is no slash between the two variables.

@y0ast
Copy link

y0ast commented Jul 2, 2015

Please merge! I think quite a lot of people are hitting this bug.

@praveenpuglia
Copy link

I agree! Please merge it. It caused me quite some time to figure out what was wrong since this is my first time with jekyll. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants