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

Fix pagination for page 1 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tonyhualiu
Copy link

Issue

When click on pagination and go to page 2, and then click on page 1 to go back,
a 404 page is rendered.

screen shot 2017-04-17 at 9 32 21 pm

Expected

The homepage should be rendered.

Fix Justification

When the pagination number 1 should be rendered, render the tag href
attribute to be site.baseurl + '/'; in other words, render the index.html page

**Issue**

When click on pagination and go to page 2, and then click on page 1 to go back,
a 404 page is rendered.

**Expected**

The homepage should be rendered.

**Fix Justification**

When the pagination number 1 should be rendered, render the <a> tag href
attribute to be site.baseurl + '/'; in other words, render the index.html page
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.

1 participant