5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:26:21 +00:00
panel/test/fixtures/site_with_relationships/_data/layouts/post.yml

24 lines
372 B
YAML
Raw Permalink Normal View History

2021-05-13 22:41:39 +00:00
---
title:
type: 'string'
required: true
authors:
type: 'has_and_belongs_to_many'
inverse: 'posts'
filter:
layout: 'author'
posts:
type: 'has_many'
inverse: 'in_reply_to'
filter:
layout: 'post'
in_reply_to:
type: 'belongs_to'
inverse: 'posts'
filter:
layout: 'post'
recommended_posts:
type: 'related_posts'
filter:
layout: 'post'