Comments (3)
Nevermind, I figured it out:
content:
- name: posts
label: Posts
type: collection
path: content/posts
fields:
- {name: draft, label: Draft, type: boolean, default: true}
- {name: title, label: Title, type: string}
- {name: date, label: Date, type: date}
- name: resources
label: Resources
type: object
----> list: true
fields:
- name: name
type: string
hidden: true
default: featured-image
- name: src
label: Featured Image
type: image
filename: index.md
view:
fields: [title, draft, date]
from pages-cms.
Sorry, I was slow to respond. Glad you got that sorted out.
from pages-cms.
No problem, I figured there had to be some way I just wasn't seeing it and I imagine you're swamped. Now, if could figure out how to get pages to output
resources:
- name: featured-image
src: featured-image.jpg
instead of
resources:
- name: featured-image
src: /content/posts/2024-02-24-green-eggs/featured-image.jpg
I'd really be in business! With various ways of configuring media and images, it's not super clear how their setting all interact.
from pages-cms.
Related Issues (20)
- Drag and drop sorting of a JSON file with an image field issue HOT 2
- Table option in rich text editor. HOT 1
- Setting message attribute causes JS error when validating form HOT 5
- Cloudinary (CDN) support for images HOT 13
- Cannot set 'extension' on content collection HOT 4
- Localisation support HOT 7
- How can I support financially this great project ? HOT 4
- More code support HOT 4
- Validation on optional fields HOT 2
- Automatic creation of folders when settings change
- Format option for rich-text is not valid HOT 1
- Unable to use template repos on localhost HOT 1
- Embed Youtube video & new post not deployed HOT 5
- How do you get the data/content from the CMS HOT 1
- Manage a collection in a single file HOT 4
- Blank Page with Cloudflare Pages following Readme HOT 8
- Post saved as fields.title.mdx literally HOT 2
- Repo Selection Page HOT 1
- Unbearable performance issues when typing in larger files HOT 1
- unable to clone example site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pages-cms.