How to get specific single with status live How can I get a specific single (careers) with status live in twig?
This should work:

{% set careers = craft.entries.section('careers') %}

{% if not careers|length %}
    {% exit 404 %}
{% endif %}