Closed kevinSuttle closed 10 years ago
I tried setting baseurl
and host
in my _config.yml, but to no avail.
http://jekyllrb.com/docs/configuration/#serve_command_options
I'm not sure what you mean - permalinks or not, the URL from <a href="{{ post.url }}">{{ post.title }}</a>
should start with /
- unless you've set a hostname in jekyll somewhere?
Nope. Just setting a custom permalink triggers the behavior. Confirmed in your boilerplate repo as well. https://github.com/kevinSuttle/kevinsuttle.github.io/blob/master/_config.yml#L7
Wait. Now it's working in yours. Hm. Still broken in mine.
Looks to be just the first post for some reason. Guessing the -
in the post title has something to do with it. https://github.com/kevinSuttle/kevinsuttle.github.io/blob/master/_posts/2014-03-04-the-right-questions-to-ask-mobile-first-deniers.md
_config.yml
index.html
The IP set by browser-sync is valid, but Jekyll (?) replaces the IP address/port combo with
localhost
, which 404s.Example
<a href="http://0.0.0.0:3002/posts/the-right-questions-to-ask-mobile-first-deniers">
click => resolves to:http://localhost/posts/the-right-questions-to-ask-mobile-first-deniers