Relatively new to CraftCMS and getting Twig error "Variable "entry" does not exist" on my home page.

Noticed another post said to leave URI blank which should fix but didn't.

Just looking to output something very simple i.e. {{ entry.featureHeading }}

Appears to not be recognising the home page as an entry but it is and is setup as a 'single'

  • 2
    On the single's settings page have you ticked the 'home' checkbox under site settings?
    – dmatthams
    May 13, 2021 at 13:46
  • Yep, have ticked the 'home' icon checkbox May 13, 2021 at 23:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.