Hi everyone,
I’m following the sample reference from Kirby’s Portfolio Example and have created a blueprint for a cover image, cover.yml
, as follows:
title: Cover Image
extends: files/image
fields:
alt:
label: Alt Text
type: text
caption:
label: Caption
type: textarea
I also have the following blueprints:
default.yml
:
title: Default File
fields:
alt:
label: Alt Text
type: text
image.yml
:
title: Image
fields:
alt:
label: Alt Text
type: text
In my project.yml
, I’m using the cover template like this:
sidebar:
width: 1/3
sections:
sidebar_content:
type: fields
fields:
cover:
template: cover
label:
en: Cover
es: Portada
pt: Capa
it: Copertina
type: files
layout: cards
info: "{{ file.dimensions }}"
min: 1
However, the panel does not seem to recognize the cover
template, and the the focus is disabled in the local installation but not in the server.
Could anyone help me understand what might be going wrong?
Server: Kirby 4.3, Apache. Local: Kirby 4.3, nginx.
Thanks in advance!