I’m reworking an existing page and apparently when I built it initially I was too lazy to set up dedicated file blueprints.
Now I want to create an “images” section, but when I set template: image, the section contains nothing, because all files have the default blueprint. Any hints for creating a script to change all image files’ templates to image without losing existing content in their respective fields? I’m scared of losing content
Yes, it’s different for pages than for files, because for files the template is stored in the metadata file. For pages, however, the name of the content file is changed.