forked from termux/termux.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
128 lines (106 loc) · 3.01 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
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Termux
lang: en
supported_langs: [en,cn]
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://termux.dev" # the base hostname & protocol for your site, e.g. http://example.com
site_source: "https://github.com/termux/termux.github.io"
twitter_username: termuxdevs
github_username: termux
github: [metadata]
# Build settings
remote_theme: pages-themes/[email protected]
plugins:
- jekyll-feed
- jekyll-remote-theme
- jekyll-redirect-from
markdown: CommonMarkGhPages
commonmark:
options: ["GITHUB_PRE_LANG", "FOOTNOTES", "UNSAFE"]
extensions: ["strikethrough", "autolink", "table", "tagfilter"]
collections:
posts:
output: true
feed:
categories:
- general
show_excerpts: true # set to true to show excerpts on posts
defaults:
# Set doc layout for all docs files
-
scope:
path: "*/docs"
values:
layout: "doc"
# Set post layout for all posts files
-
scope:
path: "_posts"
values:
layout: "posts/post"
# Set page.lang for all files under respective languages and ensure index.html is added for directories
-
scope:
path: "en"
values:
lang: en
permalink: /:path/:basename:output_ext
-
scope:
path: "cn"
values:
lang: cn
permalink: /:path/:basename:output_ext
# Set page.category for all posts under respective categories
-
scope:
path: "_posts/*/apps"
values:
category: apps
-
scope:
path: "_posts/*/general"
values:
category: general
-
scope:
path: "_posts/*/packages"
values:
category: packages
# Set page.lang for all posts files under respective languages and permalink with /en/:collection prefix
-
scope:
path: "_posts/en"
values:
lang: en
permalink: /en/:collection/:categories/:year/:month/:day/:title:output_ext
-
scope:
path: "_posts/cn"
values:
lang: cn
permalink: /cn/:collection/:categories/:year/:month/:day/:title:output_ext
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
# exclude:
# - Gemfile
# - Gemfile.lock
# - node_modules
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/