forked from nestordedios/bolt-theme-kuhn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.yml
78 lines (69 loc) · 2.42 KB
/
theme.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
# Optional config file for the theme.
# Variables that are in this file, can be used in your twig template like {{ theme.foo }}
layout:
aside: right # left, right, none
aside_width: 4 # out of 12
main_width: 8 # out of 12
variant: centered # wide or centered
# Setting the header image. The default images in this theme all came from
# Visualhunt: https://visualhunt.com/
headerimage:
- 01.jpg
- 02.jpg
- 03.jpg
- 04.jpg
- 05.jpg
- 06.jpg
- 07.jpg
# Template filenames. If you 're creating a theme for distribution, you can specify
# the filenames of the templates here. The templates you will set in this config
# file will override the ones in the global app/config/config.yml, so beware!
# maintenance_template: maintenance_default.twig
homepage_template: index.twig
record_template: record.twig
listing_template: listing.twig
search_results_template: search.twig
notfound: notfound.twig
# Optional overrides. These override the ones in config.yml, but can be set in
# either place.
# taxonomy_sort: DESC
# homepage: page/1
# listing_sort: datepublish DESC
# listing_records: 6
# search_results_records: 10
# Extra 'templatefields' can be specified for use in the records / contenttypes
# that make use of a specific template. This allows editors to add additional
# fields to a certain page, but not to others.
templatefields:
extrafields.twig:
section_1:
type: text
label: Section 1
section_2:
type: html
label: Section 2
image:
type: image
# Templates can be named for display in the template selector, to allow editors
# to pick from easier to understand names.
templateselect:
templates:
- name: 'Template with extra fields'
filename: 'extrafields.twig'
# Aliases can be set to restrict images to a specific set of available
# resolutions or to decouple image sizes from template files.
thumbnails:
aliases:
myimageformat:
size: [400,300]
cropping: crop
# Social media links for the theme
# SVG icons are used. Check icons available in images/icons directory
social_media:
twitter:
link: https://twitter.com/BoltCM
label: Twitter
icon: icon-twitter
svgfile: icon-twitter.svg
target: _blank # target attribute of the <a> tag.
title: "Follow Bolt CMS on Twitter" # title attribute of the <a> tag.