forked from jekyll-store/front
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
115 lines (110 loc) · 2.39 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
title: Jekyll-Store
description: 'A lightweight, backend-free ecommerce solution.'
baseurl: /front
url: 'http://www.jekyll-store.com'
# Jekyll-Store Engine
defaultAddress:
country: GB
payment:
currency: GBP
hook: 'https://jekyll-store-microservice.herokuapp.com/purchase'
tracking_id: 'UA-62379004-1'
# Jekll-Store Front
image_prefix: 'http://res.cloudinary.com/jekyll-store/'
paymillPublicKey: 323027826220f6ed944b96a1a47e35a0
wake_up: 'http://jekyll-store-microservice.herokuapp.com/ping'
disqus_shortname: 'jekyll-store'
# http://openexchangerates.github.io/accounting.js/#documentation
accounting:
symbol : '£'
format: '%s%v'
decimal : '.'
thousand: ','
precision : 2
# https://github.com/prose/prose/wiki/Prose-Configuration
prose:
ignore:
- _includes
- _layouts
- assets
- json
- node_modules
- pages
- .gitignore
- _config.yml
- CNAME
- Gemfile
- package.json
- README.md
metadata:
_products:
- name: name
field:
element: text
label: Name
help: Must be unique
- name: price
field:
element: number
label: 'Price (£)'
- name: weight
field:
element: number
label: 'Weight (kg)'
- name: designer
field:
element: text
label: Designer
- name: type
field:
element: select
label: Type
options:
- value: Wood
- value: Metal
- value: Metallic
- name: condition
field:
element: select
label: Condition
options:
- value: Mint
- value: Worn
- value: Rough
- name: image
field:
element: text
label: Image
- name: big_image
field:
element: text
label: Big Image
# http://jekyllrb.com/docs/configuration/
permalink: blog/:title
sass:
sass_dir: /assets/_sass
style: :compressed
collections:
products:
output: true
permalink: /:path/
defaults:
-
scope:
path: '' # an empty string here means all files in the project
type: posts # previously `post` in Jekyll 2.2.
values:
layout: post
-
scope:
path: ''
type: products
values:
layout: product
exclude:
- node_modules
- Gemfile
- Gemfile.lock
- README.md
- CNAME
- package.json