A simple Blue Bootstrap theme for Bolt CMS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images
javascripts
.gitattributes
.gitignore
LICENSE
README.md
_aside.twig
_footer.twig
_header.twig
_panel_about.twig
_panel_contenttypes.twig
_panel_partenaires.twig
_recordfooter.twig
_sub_menu.twig
_sub_searchbox.twig
calendar.twig
config.yml
entry.twig
index.twig
listing.twig
listing_date.twig
record.twig

README.md

bbb

WORK IN PROGRESS

This is the "bbb" theme for Bolt. It is built with Bootstrap and other stuff.

To install manually, go to theme/ and do a checkout:

git clone TODO

Add/Update these taxonomies to your taxonomy.yml :

themes:
    slug: themes
    singular_slug: theme
    behaves_like: grouping
    options: { info: "Informations générales", athle: "Athlétisme", rdv: "Les événements", media: "Médias" }
    has_sortorder: true

categories:
    name: Catégories
    slug: categories
    singular_name: Catégorie
    singular_slug: categorie
    behaves_like: categories
    multiple: true
    options: [ marche, athlé, divers, info, rdv, média, résultat, entraînement, compétition, cross ]

niveaux:
    name: Niveaux
    slug: niveaux
    singular_name: Niveau
    singular_slug: niveau
    behaves_like: categories
    multiple: true
    options: [ "Non licenciés", EA, P, B, M, C, J, E, S, V ]

Add/Update these content types to your contenttypes.yml :

pages:
    name: Pages
    singular_name: Page
    fields:
        title:
            type: text
            class: large
            label: "Titre"
        subtitle:
            type: text
            label: "Sous-titre"
        slug:
            type: slug
            uses: title
        body:
            type: html
            height: 300px
            label: "Corps de la page"
        markdown:
            type: markdown
            height: 300px
            label: "Contenu en balisage léger"
        template:
            type: templateselect
            filter: '*.twig'
            default: 'record.twig'
    taxonomy: [ themes ]
    default_status: publish
    recordsperpage: 100
    icon_many: "fa:file-text"

entries:
    name: Articles
    singular_name: Article
    fields:
        title:
            type: text
            class: large
        slug:
            type: slug
            uses: title
        body:
            type: html
            height: 300px
        image:
            type: image
        imageFull:
            type: checkbox
            label: "Image pleine largeur"
    taxonomy: [ categories ]
    record_template: entry.twig
    listing_template: listing_date.twig
    listing_records: 10
    default_status: publish
    sort: -datepublish
    recordsperpage: 10
    icon_many: "fa:newspaper-o"

partenaires:
    name: Partenaires
    singular_name: Partenaire
    fields:
        title:
            type: text
            variant: inline
        image:
            type: image
            extensions: [ gif, jpg, png ]
        slug:
            type: slug
            uses: title
    icon_many: "fa:suitcase"
    record_template: entry.twig
    listing_template: listing.twig
    default_status: publish

evenements:
    name: Événements
    singular_name: Événement
    fields:
        title:
            type: text
            class: large
            label: "Nom de l'événement"
        debut:
            type: date
            label: "Date de début"
            required: true
            variant: inline
        fin:
            type: date
            label: "Date de fin (optionnel)"
            variant: inline
        epreuves:
            type: html
            label: "Détail des épreuves"
        lieu:
            type: text
            label: "Lieu"
            variant: inline
        geolocation:
            type: geolocation
    taxonomy: [ niveaux ]
    recordsperpage: 30
    sort: debut
    icon_many: "fa:calendar"
    record_template: entry.twig
    listing_template: listing.twig
    default_status: publish

Set theme: bbb in your app/config/config.yml, and you're good to go!