This commit is contained in:
commit
a3620a1f5f
1042 changed files with 226722 additions and 0 deletions
21
site/blueprints/pages/default.yml
Normal file
21
site/blueprints/pages/default.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
title: Default Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: huge
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
template: default
|
||||
files:
|
||||
type: files
|
||||
|
||||
30
site/blueprints/pages/home.yml
Normal file
30
site/blueprints/pages/home.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
title:
|
||||
en: Home
|
||||
fr: Accueil
|
||||
icon: shop
|
||||
|
||||
columns:
|
||||
- width: 2/3
|
||||
sections:
|
||||
products:
|
||||
type: pages
|
||||
headline:
|
||||
en: Products
|
||||
fr: Produits
|
||||
template: product
|
||||
sortBy: title asc
|
||||
info: "{{ page.stock }} en stock"
|
||||
layout: cardlets
|
||||
image:
|
||||
query: page.files.first
|
||||
cover: true
|
||||
|
||||
- width: 1/3
|
||||
sections:
|
||||
settings:
|
||||
type: fields
|
||||
fields:
|
||||
baseline:
|
||||
label: Baseline
|
||||
type: textarea
|
||||
size: small
|
||||
79
site/blueprints/pages/product.yml
Normal file
79
site/blueprints/pages/product.yml
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
title:
|
||||
en: Product
|
||||
fr: Produit
|
||||
icon: cart
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label:
|
||||
en: Content
|
||||
fr: Contenu
|
||||
columns:
|
||||
- width: 2/3
|
||||
sections:
|
||||
main:
|
||||
type: fields
|
||||
fields:
|
||||
price:
|
||||
label:
|
||||
en: Price (€)
|
||||
fr: Prix (€)
|
||||
type: number
|
||||
min: 0
|
||||
step: 0.01
|
||||
required: true
|
||||
width: 1/4
|
||||
stock:
|
||||
label: Stock
|
||||
type: number
|
||||
min: 0
|
||||
default: 0
|
||||
help:
|
||||
en: Edit through french version
|
||||
fr: Partagé entre les versions FR et EN
|
||||
translate: false
|
||||
width: 1/4
|
||||
description:
|
||||
label: Description
|
||||
type: writer
|
||||
details:
|
||||
label:
|
||||
en: Details
|
||||
fr: Détails
|
||||
type: writer
|
||||
hasOptions:
|
||||
label:
|
||||
en: Options
|
||||
fr: Options
|
||||
type: toggle
|
||||
default: false
|
||||
width: 1/7
|
||||
optionLabel:
|
||||
label:
|
||||
en: Option label
|
||||
fr: Libellé de l'option
|
||||
type: text
|
||||
width: 3/7
|
||||
when:
|
||||
hasOptions: true
|
||||
optionValues:
|
||||
label:
|
||||
en: Option values
|
||||
fr: Valeurs de l'option
|
||||
type: tags
|
||||
help:
|
||||
en: "Comma-separated values (e.g.: XS, S, M, L, XL)"
|
||||
fr: "Valeurs séparées par des virgules (ex: XS, S, M, L, XL)"
|
||||
when:
|
||||
hasOptions: true
|
||||
width: 3/7
|
||||
|
||||
- width: 1/3
|
||||
sections:
|
||||
images:
|
||||
type: files
|
||||
headline:
|
||||
en: Product Images
|
||||
fr: Images du produit
|
||||
template: image
|
||||
layout: cards
|
||||
15
site/blueprints/site.yml
Normal file
15
site/blueprints/site.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
title: Site
|
||||
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
headline:
|
||||
en: Products
|
||||
fr: Produits
|
||||
template: product
|
||||
sortBy: title asc
|
||||
info: "{{ page.stock }} en stock"
|
||||
layout: cardlets
|
||||
image:
|
||||
query: page.files.first
|
||||
cover: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue