0
我正在研究一個只需要有一個簡單的CMS來編輯其內容的小型站點。所以我從Bolt開始。目前,我有5個頁面具有不同的標記,如內容結構。是否有可能這樣做?因爲目前它不幸運。頁面中的不同內容類型
我contenttypes.yml:
pages:
name: Homepage
singular_name: homepage
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
header-image:
type: image
title-one:
type: text
header-text:
type: html
title-two:
type: text
text-one:
type: html
body-image-two:
type: image
title-three:
type: text
body-image-text:
type: html
title-four:
type: text
text-two:
type: html
title-five:
type: text
text-three:
type: html
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
name: Over ons
singular_name: over-ons
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
image:
type: image
title-one:
type: text
title-two:
type: text
body:
type: html
height: 300px
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
name: Diensten
singular_name: diensten
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
image:
type: image
title-one:
type: text
intro-text:
type: html
title-two:
type: text
text-two:
type: html
title-three:
type: text
text-three:
type: html
title-four:
type: text
text-four:
type: html
title-five:
type: text
text-five:
type: html
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
name: Het proces
singular_name: het-proces
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
image-one:
type: image
title-one:
type: text
intro-text:
type: html
title-two:
type: text
text-two:
type: html
image-two:
type: image
title-three:
type: text
text-three:
type: html
image-three:
type: image
title-four:
type: text
text-four:
type: html
image-four:
type: image
title-five:
type: text
text-five:
type: html
image-five:
type: image
title-six:
type: text
text-six:
type: html
image-six:
type: image
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
name: Projecten
singular_name: projecten
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
title-one:
type: text
intro-text:
type: html
title-two:
type: text
text-two:
type: html
image-two:
type: image
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
name: Contact
singular_name: contact
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
title-one:
type: text
intro-text:
type: html
template:
type: templateselect
filter: '*.twig'
taxonomy: [ groups ]
recordsperpage: 100
在溶液中的任何想法?
在此先感謝。
好的,謝謝!我會看看它。 – TheDutchRicolaa