Junyi-99 / hugo-theme-anubis2

Anubis2 is a simple but elegant theme for Hugo blog engine
https://hugo-theme-anubis2.netlify.app/
MIT License
44 stars 15 forks source link

Corrects readNextPosts logic #50

Closed Hanse00 closed 5 months ago

Hanse00 commented 5 months ago

The docs at https://gohugo.io/functions/collections/isset/ specify that the isset function must be called with a lowercase representation of the key we wish to check.

If we do not, the function always returns false.

netlify[bot] commented 5 months ago

Deploy Preview for hugo-theme-anubis2 ready!

Name Link
Latest commit 8c718ed668180c853cc9bc61057625a2114a306b
Latest deploy log https://app.netlify.com/sites/hugo-theme-anubis2/deploys/66390ecc0e377b00084dd1ca
Deploy Preview https://deploy-preview-50--hugo-theme-anubis2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 100
Accessibility: 96
Best Practices: 92
SEO: 91
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Junyi-99 commented 5 months ago

Haven't noticed that, thanks for your correction!