lenymo / glennmccomb-com

Hugo and Netlify CMS for my personal website.
https://glennmccomb.com
12 stars 8 forks source link

Create dark theme variant of pagination for use in photography index #12

Closed lenymo closed 5 years ago

lenymo commented 5 years ago

In tinkering with the pagination, I noticed a bug on the second+ page of the photography index where featured image name and extension were repeated like /img/uploads/featured-image-photography-smfeatured-image-photography-sm.jpg.jpg. I fixed it in https://github.com/lenymo/glennmccomb-com/commit/89c29d0066fb224866b36c0c03055d242b01fb38 by using .Scratch.Set instead of .Scratch.Add.