<!--
  Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.
  Read the documentation to get started: https://tailwindui.com/documentation
-->

{%- set section = get_section(path="_index.md") %}

{% set subsections_str = section.subsections | join(sep=" ") %}

<footer class="bottom-0">
    {% if "footer/_index.md" in subsections_str %}
        {%- set section = get_section(path="footer/_index.md") %}
        {{ section.content | safe }}
    {% else %}
        {% set footer_class = config.extra.footer_class | default(value='') %}
        <div class="{{ footer_class }}">
            {# <img src="{{get_url(path='images/')}}" class="w-60" alt=""> #}
            <p class="text-center">OurWorld Digital Free Zone | All Rights Reserved 2023</p>
        </div>
    {% endif %}
</footer>