Entries limited by date range
String interpolation in Twig only works with double-quoted strings.
Change the .startDate line to .startDate(['and', &quot;&gt;= #{start}&quot;, &quot;&lt; #{end}&quot;]) and it should work.