Skip to content

Comments

Remove // in pagination#54

Open
mthmulders wants to merge 1 commit intoenten:masterfrom
mthmulders:no-double-slash-in-pagination-urls
Open

Remove // in pagination#54
mthmulders wants to merge 1 commit intoenten:masterfrom
mthmulders:no-double-slash-in-pagination-urls

Conversation

@mthmulders
Copy link
Contributor

I noticed that the URLs in my pagination contain a double /. For reference, see my personal blog. This causes issues for sites hosted on S3 (like mine).

According to Bjørn Erik Pedersen, the creator of Hugo, the correct way to generate absolute URL's is to use the absURL function.

This pull request uses that function in the pagination module.

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