Skip to content

Commit

Permalink
Template config
Browse files Browse the repository at this point in the history
  • Loading branch information
io3uokljs committed Feb 29, 2024
1 parent 705b773 commit 8c825d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions tina/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,15 @@ export function crewFields() {
description: "Publication date",
},
{
type: "reference",
type: "string",
name: "categories",
label: "Categories",
collections: ['themes'],
description: "Select a theme with the same language as this post."
},
{
type: "string",
name: "lang",
label: "lang",
label: "Language",
options: ["sv", "en"],
},
{
type: "string",
Expand All @@ -152,6 +151,7 @@ export function crewFields() {
type: "image",
name: "image",
label: "image",
description: "Image size 510 x 363px",
},
{
type: "string",
Expand Down Expand Up @@ -280,11 +280,13 @@ export function themeFields() {
type: "image",
name: "image",
label: "Image",
description: "Main image. Recommended size 1200x629 px, 72 dpi.",
},
{
type: "image",
name: "thumbnail",
label: "Thumbnail",
description: "Bild 560px bred, till nyhetsbrev.",
},
{
type: "string",
Expand Down
2 changes: 1 addition & 1 deletion tina/tina-lock.json

Large diffs are not rendered by default.

0 comments on commit 8c825d4

Please sign in to comment.