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", title: "Publish date",
type: "date" type: "date"
}, },
{
name: "author",
title: "Author",
type: "string"
},
{ {
name: "content", name: "content",
title: "Content", title: "Content",
type: "array", type: "array",
of: [{type: "block"}] of: [{type: "block"}]
},
{
name: "summary",
title: "Short summary",
type: "text"
} }
] ]
}; };

View File

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

View File

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