Commit graph

2 commits

Author SHA1 Message Date
63d3f4459d Theme: Fix robots partial "isset on nil" warning
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 1s
/ build (push) Successful in 12s
As not all pages have the robots param defined, we got a warning:
WARN  calling IsSet with unsupported type "invalid" (<nil>) will always return false.
This is solved by adding an additional "isset" check.
2024-04-20 18:14:41 +02:00
765b727cc7 Template: Add robots meta-tag, set noindex on staging
All checks were successful
/ build (push) Successful in 13s
Stolen from https://github.com/dereckcurry/hugo-robots-meta-tags
2024-01-22 22:36:23 +01:00