Include with -- variable does not exist error
You're probably looking for:

{% include "singlepage" with { 'currentPage': 'leaders' } %}


The key (the part before the :) needs to be a string, hence in quotes.

The relevant Twig template docs are here: https://twig.symfony.com/doc/2.x/tags/include.html#include