mirror of
https://github.com/tjsga/website-sanity.git
synced 2025-04-18 18:10:17 -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",
|
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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
|
@ -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"}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user