Commit 9948a169 authored by Tobias Buckdahn's avatar Tobias Buckdahn

Improve parts page

parent f9d13ff0
......@@ -3,9 +3,14 @@ title: Teile
image: image.jpg # Photo by Rick Mason on Unsplash (edited)
icon: icon.png
item_wrapper_classes: 'col-4 col-sm-3 col-md-2'
item_show_footer: false
content:
items:
- '@page.children': '/part'
limit: 12
order:
by: title
limit: 24
pagination: true
---
\ No newline at end of file
......@@ -3,9 +3,14 @@ title: Parts
image: image.jpg # Photo by Rick Mason on Unsplash (edited)
icon: icon.png
item_wrapper_classes: 'col-4 col-sm-3 col-md-2'
item_show_footer: false
content:
items:
- '@page.children': '/part'
limit: 12
order:
by: title
limit: 24
pagination: true
---
\ No newline at end of file
{% extends 'partials/base.html.twig' %}
{% set item_wrapper_classes = page.header.item_wrapper_classes %}
{% set item_show_footer = page.header.item_show_footer is defined ? page.header.item_show_footer : true %}
{# Adapt introduction to current filter (if enabled) #}
{% if page.header.filter_title %}
{% set params = uri.params(null, true) %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment