forked from Checksig-inside/multilangsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
66 lines (58 loc) · 1.38 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
# Build settings
markdown: kramdown
highlighter: rouge
# Customise atom feed settings (this is where Jekyll-Feed gets configuration information)
# RSS 2.0 can be used instead of Atom by uncommenting following two lines
#feed:
# path: rss-feed.xml
baseurl: "/new_website" # the subpath of your site, e.g. /blog
url: "checksig-custody.github.io" # the base hostname & protocol for your site, e.g. http://example.com
# multiple language
defaults:
# default en
- values:
locale: en
# config posts
- scope:
path: content/en/_posts/**
type: posts
values:
layout: post
locale: en
permalink: /posts/:title
- scope:
path: content/it/_posts/**
type: posts
values:
layout: post
locale: it
permalink: /it/posts/:title
# config pages
- scope:
path: content/en/**
type: pages
values:
locale: en
permalink: /
- scope:
path: content/it/**
type: pages
values:
locale: it
permalink: it/
# config collections
- scope:
path: content/en/custody/**
type: custody
values:
layout: custody
locale: en
permalink: "/:collection/:path/"
- scope:
path: content/it/_custody/**
type: custody
values:
layout: custody
locale: it
permalink: "it/:collection/:path/"
github: [metadata]