Update footer columns, add article summary/author, members can be on Class Council now

This commit is contained in:
Michael Fatemi 2020-11-25 19:18:07 -05:00
parent 769cd1fc86
commit d654e46587
3 changed files with 15 additions and 10 deletions

View File

@ -18,11 +18,21 @@ export default {
title: "Publish date",
type: "date"
},
{
name: "author",
title: "Author",
type: "string"
},
{
name: "content",
title: "Content",
type: "array",
of: [{type: "block"}]
},
{
name: "summary",
title: "Short summary",
type: "text"
}
]
};

View File

@ -14,15 +14,10 @@ export default {
type: "document",
fields: [
{
name: "title",
title: "Title",
type: "string"
},
{
name: "links",
title: "Links",
name: "content",
title: "Content",
type: "array",
of: [{type: "string"}]
of: [{type: "block"}]
}
]
}]

View File

@ -15,9 +15,9 @@ export default {
},
{
name: "committee",
title: "Committee (excomm or steering)",
title: "Committee ('excomm' or 'officer' or 'class')",
type: "string",
validation: Rule => Rule.regex(/^(excomm|steering)$/)
validation: Rule => Rule.regex(/^(excomm|officer|class)$/)
},
{
name: "role",