chore(copyright): 2024
[curben-blog.git] / _config.yml
blobd52fb413fe6243b65b8a35aedd21198a21847a89
1 # Hexo Configuration
2 ## Docs: https://hexo.io/docs/configuration.html
3 ## Source: https://github.com/hexojs/hexo/
5 # Site
6 title: Ming Di Leom's Blog
7 subtitle:
8 description:
9 author: "Ming Di Leom"
10 language: en-GB
11 timezone:
13 # URL
14 ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
15 url: https://mdleom.com
16 root: /
17 permalink: blog/:year/:month/:day/:title/
18 permalink_defaults:
19 pretty_urls:
20   trailing_index: false
21   trailing_html: false
23 # Directory
24 source_dir: source
25 public_dir: public
26 tag_dir: tags
27 tag_generator:
28   enable_index_page: true
29 archive_dir: blog
30 category_dir: categories
31 code_dir: ""
32 i18n_dir: :lang
33 skip_render:
34   - "google5149b8b3449442e3.html"
35   - "yandex_210230bd98a5c664.html"
36   - "yandex_e54834b81be38a26.html"
37   - "yandex_6cc1f27a50282e72.html"
38   - "yandex_0aa588b63243f2b9.html"
39   - "yandex_e026a03a5dd06730.html"
40 include:
41   - "_headers" # Netlify header rule
42   - "_redirects" # Netlify redirects rule
44 # Writing
45 new_post_name: :title.md # File name of new posts
46 default_layout: post
47 titlecase: false # Transform title into titlecase
48 external_link:
49   enable: false # Open external links in new tab
50 filename_case: 0
51 render_drafts: false
52 post_asset_folder: false
53 relative_link: false
54 future: true
55 highlight:
56   enable: true
57   line_number: false
58   auto_detect: false
59   tab_replace: "  "
60   hljs: true
61   wrap: false
63 # Tag
64 tag_map:
66 # Date / Time format
67 ## Hexo uses Moment.js to parse and display date
68 ## You can customize the date format as defined in
69 ## http://momentjs.com/docs/#/displaying/format/
70 date_format: YYYY-MM-DD
71 time_format: HH:mm:ss
72 updated_option: empty
74 # Pagination
75 ## Set per_page to 0 to disable pagination
76 per_page: 10
77 pagination_dir: page
79 # Extensions
80 ## Plugins: https://hexo.io/plugins/
81 ## Themes: https://hexo.io/themes/
82 theme: chameleon
84 # hexo-yam
85 ## https://github.com/curbengh/hexo-yam
86 minify:
87   svg:
88     plugins:
89       cleanupIds: false
91 marked:
92   # https://github.com/hexojs/hexo-renderer-marked/pull/179
93   descriptionLists: false
95 feed:
96   icon: "/svg/favicon.svg"
98 # theme config
99 theme_config:
100   # Header
101   menu:
102     Home: /
103     Blog: /blog/
104     About: /about/
105     Feed: /atom.xml
106     GitLab: https://gitlab.com/curben/blog
108   footer:
109     Disclaimer: /disclaimer/
110     Status: https://stats.uptimerobot.com/1394zup2LQ
111     Onion: https://xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion/
112     Eepsite: https://gitlab.com/curben/blog#mirrors
114   # Load forkawesome icons?
115   icons: false