2016-12-15 81 views
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 

在溶液中的任何想法?

在此先感谢。

回答

相关问题