addtheme
This commit is contained in:
16
user/themes/lecampus/templates/footer.html.twig
Normal file
16
user/themes/lecampus/templates/footer.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% set collection = page.collection() %}
|
||||
{% set image = page.media.images|first %}
|
||||
|
||||
{% for item in page.collection if page.template == "footer" %}
|
||||
{{item.title}}
|
||||
{% endfor %}
|
||||
<section id="footer" class="section blog-listing">
|
||||
{% if image %}
|
||||
{{image.html}}
|
||||
{% endif %}
|
||||
|
||||
{% for item in collection %}
|
||||
<h3>{{item.title}}</h3>
|
||||
{{item.content}}
|
||||
{% endfor %}
|
||||
</section>
|
Reference in New Issue
Block a user