enten / hyde-y

Enhanced port of the Jekyll "Hyde" theme to Hugo
MIT License
88 stars 62 forks source link

Remove // in pagination #54

Open mthmulders opened 4 years ago

mthmulders commented 4 years ago

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.