diff --git a/source/_partials/availability.html.twig b/source/_partials/availability.html.twig index 9b179466..f4438fa8 100644 --- a/source/_partials/availability.html.twig +++ b/source/_partials/availability.html.twig @@ -1,19 +1,20 @@

Availability

- {% if (site.availability.day.available == 'no') %} + {% set day_available = site.availability.day.available %} + {% if (day_available == 'no') %}

Not available for day contract work.

{% else %}

Available for day contract work.

{% endif %} - {% if (site.availability.evenings.available == 'yes') %} + {% set evenings_available = site.availability.evenings.available %} + {% if (evenings_available == 'yes') %}

Available for weekend/evening freelance work.

- {% elseif (site.availability.evenings.available == 'limited') %} + {% elseif (evenings_available == 'limited') %}

Limited availability for weekend/evening freelance work.

{% else %}

Not available for weekend/evening freelance work.

{% endif %} -