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

Blog post error when base-url in / #19

Open
akhilerm opened this issue Jul 7, 2018 · 8 comments
Open

Blog post error when base-url in / #19

akhilerm opened this issue Jul 7, 2018 · 8 comments

Comments

@akhilerm
Copy link

akhilerm commented Jul 7, 2018

When the base-url is given as / the links of the generated posts will be wrong. //post1.html instead of /post1.html. Can be fixed by removeing {{ site.baseurl }} from blog.html

@Akronix
Copy link
Contributor

Akronix commented Oct 16, 2018

I think this is due to sustain was programmed for an older version of jekyll? Well, in any case, for me it worked to set baseurl: "".

@akhilerm
Copy link
Author

akhilerm commented Nov 3, 2018

@Akronix If baseurl: "" is set as empty, will the home button link work?

@Akronix
Copy link
Contributor

Akronix commented Nov 5, 2018

Definitely it should. It does for me: https://akronix.github.io/
but I have set the home button to show the blog page:
Akronix/akronix.github.io@d352261#diff-822e9cf54ee310f9a7ebd0d16c9ae066
Doesn't it work for you?

@akhilerm
Copy link
Author

akhilerm commented Nov 5, 2018

Nope, it its not working for me when baseurl is set to empty. I think this has something to do with different versions of jekyll

@Akronix
Copy link
Contributor

Akronix commented Nov 5, 2018

Hmm Indeed I think I'm using jekyll 3.0 and I think sustain was made for an older version of jekyll.
However, what I did is to set href="/" when I want the link to point to the home page, as you can see in my "About" element in the header.

@akhilerm
Copy link
Author

akhilerm commented Nov 5, 2018

Yeah. I checked. Shall we change the code and update it to work with latest version? @Akronix

@Akronix
Copy link
Contributor

Akronix commented Nov 6, 2018

That sounds cool, however I suffer from a very severe lack of time. what does the maintainer think about this @biomadeira?

@biomadeira
Copy link
Member

@Akronix and @akhilerm I will have look later tonight ;)

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

No branches or pull requests

3 participants