I'm looking to only display the top level parent categories on my Template, but unfortunately, everything I try seems to error out and still display all of the children categories as well.
My current code looks like the following:
{% set categories = craft.categories.group('discounts') %}
{% for category in categories.all() %}