|
1 |
| -# Hexo Configuration |
2 |
| -## Docs: https://hexo.io/docs/configuration.html |
3 |
| -## Source: https://github.com/hexojs/hexo/ |
4 |
| - |
5 |
| -# Site |
6 |
| -title: Paul's blog |
7 |
| -subtitle: '不积跬步,无以至千里' |
8 |
| -description: '创作永不停止,爱是永不止息' |
9 |
| -keywords: 'linux,Android' |
10 |
| -author: xiexulei |
11 |
| -language: en |
12 |
| -timezone: 'Asia/Shanghai' |
13 |
| - |
14 |
| -# URL |
15 |
| -## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' |
16 |
| -url: https://xuleixie.github.io |
17 |
| -permalink: :year/:month/:day/:title/ |
18 |
| -permalink_defaults: |
19 |
| -pretty_urls: |
20 |
| - trailing_index: true # Set to false to remove trailing 'index.html' from permalinks |
21 |
| - trailing_html: true # Set to false to remove trailing '.html' from permalinks |
22 |
| - |
23 |
| -# Directory |
24 |
| -source_dir: source |
25 |
| -public_dir: public |
26 |
| -tag_dir: tags |
27 |
| -archive_dir: archives |
28 |
| -category_dir: categories |
29 |
| -code_dir: downloads/code |
30 |
| -i18n_dir: :lang |
31 |
| -skip_render: |
32 |
| - |
33 |
| -# Writing |
34 |
| -new_post_name: :title.md # File name of new posts |
35 |
| -default_layout: post |
36 |
| -titlecase: false # Transform title into titlecase |
37 |
| -external_link: |
38 |
| - enable: true # Open external links in new tab |
39 |
| - field: site # Apply to the whole site |
40 |
| - exclude: '' |
41 |
| -filename_case: 0 |
42 |
| -render_drafts: false |
43 |
| -post_asset_folder: true |
44 |
| -marked: |
45 |
| - prependRoot: true |
46 |
| - postAsset: true |
47 |
| -relative_link: false |
48 |
| -future: true |
49 |
| -highlight: |
50 |
| - enable: true |
51 |
| - line_number: true |
52 |
| - auto_detect: false |
53 |
| - tab_replace: '' |
54 |
| - wrap: true |
55 |
| - hljs: false |
56 |
| -prismjs: |
57 |
| - enable: false |
58 |
| - preprocess: true |
59 |
| - line_number: true |
60 |
| - tab_replace: '' |
61 |
| - |
62 |
| -# Home page setting |
63 |
| -# path: Root path for your blogs index page. (default = '') |
64 |
| -# per_page: Posts displayed per page. (0 = disable pagination) |
65 |
| -# order_by: Posts order. (Order by date descending by default) |
66 |
| -index_generator: |
67 |
| - path: '' |
68 |
| - per_page: 10 |
69 |
| - order_by: -date |
70 |
| - |
71 |
| -# Category & Tag |
72 |
| -default_category: uncategorized |
73 |
| -category_map: |
74 |
| -tag_map: |
75 |
| - |
76 |
| -# Metadata elements |
77 |
| -## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta |
78 |
| -meta_generator: true |
79 |
| - |
80 |
| -# Date / Time format |
81 |
| -## Hexo uses Moment.js to parse and display date |
82 |
| -## You can customize the date format as defined in |
83 |
| -## http://momentjs.com/docs/#/displaying/format/ |
84 |
| -date_format: YYYY-MM-DD |
85 |
| -time_format: HH:mm:ss |
86 |
| -## updated_option supports 'mtime', 'date', 'empty' |
87 |
| -updated_option: 'mtime' |
88 |
| - |
89 |
| -# Pagination |
90 |
| -## Set per_page to 0 to disable pagination |
91 |
| -per_page: 10 |
92 |
| -pagination_dir: page |
93 |
| - |
94 |
| -# Include / Exclude file(s) |
95 |
| -## include:/exclude: options only apply to the 'source/' folder |
96 |
| -include: |
97 |
| -exclude: |
98 |
| -ignore: |
99 |
| - |
100 |
| -# Extensions |
101 |
| -## Plugins: https://hexo.io/plugins/ |
102 |
| -## Themes: https://hexo.io/themes/ |
103 |
| -theme: jekyll-theme-minimal |
104 |
| -inverse: true |
105 |
| -# Deployment |
106 |
| -## Docs: https://hexo.io/docs/one-command-deployment |
107 |
| -deploy: |
108 |
| - type: 'git' |
| 1 | +# Welcome to Jekyll! |
| 2 | +# |
| 3 | +# This config file is meant for settings that affect your whole blog, values |
| 4 | +# which you are expected to set up once and rarely edit after that. If you find |
| 5 | +# yourself editing this file very often, consider using Jekyll's data files |
| 6 | +# feature for the data you need to update frequently. |
| 7 | +# |
| 8 | +# For technical reasons, this file is *NOT* reloaded automatically when you use |
| 9 | +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. |
| 10 | +# |
| 11 | +# If you need help with YAML syntax, here are some quick references for you: |
| 12 | +# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml |
| 13 | +# https://learnxinyminutes.com/docs/yaml/ |
| 14 | +# |
| 15 | +# Site settings |
| 16 | +# These are used to personalize your new site. If you look in the HTML files, |
| 17 | +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. |
| 18 | +# You can create any custom variable you would like, and they will be accessible |
| 19 | +# in the templates via {{ site.myvariable }}. |
| 20 | + |
| 21 | +title: Your awesome title |
| 22 | + |
| 23 | +description: >- # this means to ignore newlines until "baseurl:" |
| 24 | + Write an awesome description for your new site here. You can edit this |
| 25 | + line in _config.yml. It will appear in your document head meta (for |
| 26 | + Google search results) and in your feed.xml site description. |
| 27 | +baseurl: "" # the subpath of your site, e.g. /blog |
| 28 | +url: "" # the base hostname & protocol for your site, e.g. http://example.com |
| 29 | +twitter_username: jekyllrb |
| 30 | +github_username: jekyll |
| 31 | + |
| 32 | +# Build settings |
| 33 | +theme: minima |
| 34 | +remote_theme: "jekyll/minima@1e8a445" |
| 35 | +plugins: |
| 36 | + - jekyll-feed |
| 37 | +port: 4001 |
| 38 | +# Exclude from processing. |
| 39 | +# The following items will not be processed, by default. |
| 40 | +# Any item listed under the `exclude:` key here will be automatically added to |
| 41 | +# the internal "default list". |
| 42 | +# |
| 43 | +# Excluded items can be processed by explicitly listing the directories or |
| 44 | +# their entries' file path in the `include:` list. |
| 45 | +# |
| 46 | +# exclude: |
| 47 | +# - .sass-cache/ |
| 48 | +# - .jekyll-cache/ |
| 49 | +# - gemfiles/ |
| 50 | +# - Gemfile |
| 51 | +# - Gemfile.lock |
| 52 | +# - node_modules/ |
| 53 | +# - vendor/bundle/ |
| 54 | +# - vendor/cache/ |
| 55 | +# - vendor/gems/ |
| 56 | +# - vendor/ruby/ |
0 commit comments