_includes/footer.html in awesome-jekyll-theme-0.3.1 vs _includes/footer.html in awesome-jekyll-theme-1.0.0

- old
+ new

@@ -1,49 +1,66 @@ {% capture currentYear %}{{ 'now' | date: '%Y' }}{% endcapture %} <footer class="w-full bottom-0"> - <hr class="my-8 border-zinc-200"> + <hr class="my-8 border-zinc-200" /> <div class="container mx-auto"> <div class="flex flex-wrap text-left"> <div class="w-full md:w-6/12 md:px-4"> <p class="text-3xl font-semibold"> - {{ site.data[site.active_lang].strings.footer.title | default: site.data['en'].strings.footer.title}} + {{ site.data[site.active_lang].strings.footer.title | default: + site.data['en'].strings.footer.title}} </p> <p class="font-mulish text-lg dark:text-zinc-300 mt-2 mb-2"> {{ site.data[site.active_lang].strings.footer.description | default: site.data['en'].strings.footer.description}} </p> - {% include contact_channels.html %} + {% if site.contact_channels_section %} {% include contact_channels.html + %} {% endif%} </div> <div class="w-full md:w-6/12 md:text-right py-4 md:py-0"> <div class="flex flex-wrap items-top mb-6"> <div class="w-full lg:w-4/12 md:px-4 ml-auto"> <span class="text-lg block text-gray-800 mb-2"> - {{ site.data[site.active_lang].strings.footer.pages | default: site.data['en'].strings.footer.pages}} + {{ site.data[site.active_lang].strings.footer.pages | default: + site.data['en'].strings.footer.pages}} </span> <ul> - {% for page in site.pages %} - {% if page.footer %} + {% for page in site.pages %} {% if page.footer %} <li> - <a class="font-mulish text-slate-600 hover:text-sky-400 dark:text-slate-300 dark:hover:text-slate-200 " - href="{{ page.url | relative_url }}">{{ page.title | default: page.name }}</a> + <a + class="font-mulish text-slate-600 hover:text-sky-400 dark:text-slate-300 dark:hover:text-slate-200" + href="{{ page.url | relative_url }}" + >{{ page.title | default: page.name }}</a + > </li> - {% endif%} - {% endfor %} + {% endif%} {% endfor %} </ul> </div> </div> </div> </div> - <div class="font-mulish flex flex-wrap items-center md:justify-between justify-center my-8"> + <div + class="font-mulish flex flex-wrap items-center md:justify-between justify-center my-8" + > <div class="w-full md:w-4/12 px-4 mx-auto text-center"> - <p class="text-sm">Build with <a class="hover:text-sky-400" - href="https://github.com/a-chacon/awesome-jekyll-theme">Awesome Jekyll - Theme</a>.</p> <div class="text-sm text-blueGray-500 font-semibold py-1"> - Copyright © <span id="get-current-year">{{currentYear}}</span> <a - href="https://www.creative-tim.com/product/notus-js" class="text-blueGray-500 hover:text-gray-800" - target="_blank" aria-label="Creative C">{{site.title}}</a> + © <span id="get-current-year">{{currentYear}}</span> + <a + href="https://www.creative-tim.com/product/notus-js" + class="text-blueGray-500 hover:text-gray-800" + target="_blank" + aria-label="Creative C" + >{{site.title}}.</a + > + All rights reserved. + <p class="text-xs pt-4"> + Built with ❤️ using the + <a + class="hover:text-sky-400" + href="https://github.com/a-chacon/awesome-jekyll-theme" + >Awesome Jekyll Theme</a + >. + </p> </div> </div> </div> </div> </footer>