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

Category listing does not make use of baseurl #5

Open
GreatEmerald opened this issue Jul 13, 2016 · 8 comments
Open

Category listing does not make use of baseurl #5

GreatEmerald opened this issue Jul 13, 2016 · 8 comments

Comments

@GreatEmerald
Copy link
Contributor

In http://aboutashu.com/hcz-jekyll-blog/others/2016/06/04/example-content.html if you click on the "jekyll" breadcrumb, you get redirected to http://aboutashu.com/category/jekyll instead of http://aboutashu.com/hcz-jekyll-blog/category/jekyll.

Similarly, all links in http://aboutashu.com/hcz-jekyll-blog/category/jekyll don't make use of baseurl either.

@codeasashu
Copy link
Owner

Thanks for pointing this out. This is now fixed 9d1ebbb

@GreatEmerald
Copy link
Contributor Author

Not fully fixed yet: if you look at http://aboutashu.com/hcz-jekyll-blog/category/jekyll and press "others", it still doesn't use the baseurl.

@codeasashu
Copy link
Owner

codeasashu commented Jul 13, 2016

Sorry, I overlooked. fixing again

@codeasashu codeasashu reopened this Jul 13, 2016
@codeasashu
Copy link
Owner

Fixed in 7c657ee

@GreatEmerald
Copy link
Contributor Author

There is still the issue with the actual links to the posts inside the category view, though.

@GreatEmerald
Copy link
Contributor Author

Bump. Still an issue, see for example http://aboutashu.com/hcz-jekyll-blog/category/jekyll and click on "Welcome to Jekyll!".

@GreatEmerald
Copy link
Contributor Author

GreatEmerald added a commit to GreatEmerald/hcz-jekyll-blog that referenced this issue Aug 17, 2016
codeasashu pushed a commit that referenced this issue Aug 20, 2016
@brunojdo
Copy link
Contributor

Hi Guys, as a matter of fact, I still have a little problem with this URL redirect in categories. When I working in the project in localhost, the redirect is point to my dns brunojdo.github.io..., instead of 127.0.0.1:4000/....

So, to solve this I remove the / to the 44L of posts_by_category.html and this problem with URL redirect stopped!

Old: <h4 class="list-group-item-heading"><a href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h4>

<h4 class="list-group-item-heading"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h4>

I going to do a PR for this.

brunojdo added a commit to brunojdo/hcz-jekyll-blog that referenced this issue Sep 14, 2016
Solve a little problem commented in the issue codeasashu#5 about the missmatch reference between 127.0.0.1 and the real DNS URL.
codeasashu pushed a commit that referenced this issue Sep 14, 2016
* #5 Solve a problem with URL reference of category

Solve a little problem commented in the issue #5 about the missmatch reference between 127.0.0.1 and the real DNS URL.

* Update posts_by_category.html
@codeasashu codeasashu reopened this Feb 26, 2017
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