2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-27 01:00:45 +00:00

refactor to reduce double data

This commit is contained in:
2021-11-07 23:43:14 +01:00
parent 2b1a0ce567
commit b6684705d0
12 changed files with 36 additions and 33 deletions

View File

@ -10,7 +10,8 @@
<div class="flex-grow flex flex-wrap md:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">
{% for cat in site.data.footer %}
{% assign footer = footer|default: site.data.general.footer %}
{% for cat in footer %}
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
<h2 class="footer-categorie title-font">{{ cat.title }}</h2>
<nav class="list-none mb-10">