-
Notifications
You must be signed in to change notification settings - Fork 2
/
_config.yml
162 lines (130 loc) · 4.58 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# Site settings
title: 'Leon Paternoster'
email: [email protected]
description: "Digital manager interested in usability, accessibility and making readable websites."
tagline: Leon Paternoster. Web services manager.
biog: 'I’m digital and customer service manager at Suffolk Libraries. I’ve been writing about design, code and managing websites since 2008, and you’ll find a hundred or so articles on this site.'
baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://www.leonpaternoster.com" # the base hostname & protocol for your site
lead: "Blogging about making websites & apps fast, friendly, readable and usable."
# Build settings
markdown: kramdown
permalink: /:year/:month/:title/
sass:
style: compressed
# Defaults
# Enable is.post test for posts
# Means we don't need a post layout
# But we can test for a post in layouts/default.html
# Simply use {% if page.is_post %}
defaults:
-
scope:
path: "" # empty string for all files
type: "posts" # limit to posts
values:
is_post: true # automatically set is_post=true for all posts
layout: default
-
scope:
path: ""
type: "work"
values:
is_work: "true"
layout: "default"
-
scope:
path: ""
type: "pages"
values:
is_page: "true"
layout: "default"
-
scope:
path: "articles/web"
type: "posts"
values:
tag: "article"
-
scope:
path: "articles/libraries"
type: "posts"
values:
tag: "article"
-
scope:
path: "articles/work"
type: "posts"
values:
tag: "article"
-
scope:
path: "journal/politics"
type: "posts"
values:
tag: "journal"
is_journal: true
is_post: true
layout: "default"
-
scope:
path: "journal/thinking"
type: "posts"
values:
tag: "journal"
is_journal: true
is_post: true
layout: "default"
-
scope:
path: "notes" # empty string for all files
type: "posts" # limit to posts
values:
is_note: "true" # automatically set is_note=true for all notes
layout: "note"
tag: "note"
# Collections
collections:
work:
output: true
# Site configuration for the Jekyll 3 Pagination Gem
# The values here represent the defaults if nothing is set
pagination:
# Site-wide kill switch, disabled here it doesn't run at all
enabled: true
# Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages
debug: false
# The default document collection to paginate if nothing is specified ('posts' is default)
collection: 'posts'
# How many objects per paginated page, used to be `paginate` (default: 0, means all)
per_page: 10
# The permalink structure for the paginated pages (this can be any level deep)
permalink: '/page/:num/' # Pages are index.html inside this folder (default)
#permalink: '/page/:num.html' # Pages are simple html files
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
# Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages)
title: ':title – page :num / :max'
# Limit how many pagenated pages to create (default: 0, means all)
limit: 0
# Optional, defines the field that the posts should be sorted on (omit to default to 'date')
sort_field: 'date'
# Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true)
sort_reverse: true
# Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts)
category: 'posts'
# Optional, the default tag to use, omit to disable
tag: ''
# Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts,
# in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code )
locale: ''
# Optional,omit or set both before and after to zero to disable.
# Controls how the pagination trail for the paginated pages look like.
trail:
before: 2
after: 2
# Optional, the default file extension for generated pages (e.g html, json, xml).
# Internally this is set to html by default
extension: html
# Optional, the default name of the index file for generated pages (e.g. 'index.html')
# Without file extension
indexpage: 'index'