forked from ourworld_web/www_template_2023
update repo
This commit is contained in:
21
templates/partials/footer.html
Normal file
21
templates/partials/footer.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--
|
||||
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 mx-20">
|
||||
{% 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 ~ ' -mx-20'}}">
|
||||
{# <img src="{{get_url(path='images/')}}" class="w-60" alt=""> #}
|
||||
<p class="text-center">ALL RIGHTS RESERVED 2022</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</footer>
|
Reference in New Issue
Block a user