Hi,
I am trying to make a media library without the gallery part.
If I set my type to pages the files are not displayed, but I can click the headline(Foto’s) of the section and go to a bigger overview.
My site .yml:
- width: 1/1
sections:
notes: sections/fotos
My sections/fotos with the type set to pages
type: pages
headline: Foto's
parent: site.find("fotos")
size: tiny
info: "{{ page.images.count }} image(s)"
layout: cards
template: image
empty: No fotos yet
image:
query: page.cover
cover: true
ratio: 5/4
When I set the type to files the images are shown:
But I cannot click on the headline(Foto’s) to go to a bigger overview.
My sections/fotos with the type set to files:
type: files
headline: Foto's
parent: site.find("fotos")
size: tiny
info: "{{ page.images.count }} image(s)"
layout: cards
template: image
empty: No fotos yet
image:
query: page.cover
cover: true
ratio: 5/4
Does anyone know how I can make the headline of the type files behave the same way as the headline with type pages ?