support multiple files in footer-extra and head-extra

This commit is contained in:
Dean Attali 2020-08-24 20:43:43 +00:00
parent c677c7e114
commit b660fef759
4 changed files with 8 additions and 4 deletions

View file

@ -5,7 +5,9 @@
{% include social-networks-links.html %}
{% if page.footer-extra %}
<div class="footer-custom-content">
{% include {{ page.footer-extra }} %}
{% for file in page.footer-extra %}
{% include {{ file }} %}
{% endfor %}
</div>
{% endif %}
<p class="copyright text-muted">

View file

@ -141,7 +141,9 @@
{% endif %}
{% if page.head-extra %}
{% include {{ page.head-extra }} %}
{% for file in page.head-extra %}
{% include {{ file }} %}
{% endfor %}
{% endif %}
</head>