mirror of
https://github.com/tjsga/website-sanity.git
synced 2025-04-17 01:20:18 -04:00
Update footer columns, add article summary/author, members can be on Class Council now
This commit is contained in:
parent
769cd1fc86
commit
d654e46587
|
@ -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"
|
||||
}
|
||||
]
|
||||
};
|
|
@ -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"}]
|
||||
}
|
||||
]
|
||||
}]
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user