记录 hexo-theme-dearmsdan 结构,hexo的基本介绍

2020年02月10日 99 字 博客


什么是 Hexo?
Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。

用hexo 过程发现它 是一个插件十齐全的一个博客系统,快速、简洁且高效,在hexo 的主题下,我下载使用了 hexo-theme-nexmoe 主题,非常的花里胡哨且简洁。
于是不断的在样式和布局上折腾,最后因为pjax的原因放弃了这个主题,于是自己开始打造属于自己的hexo博客 hexo-theme-dearmsdan ……..

HEXO 目录结构 介绍

记录config配置信息.

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
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# 网站Site
title: hi mogul
subtitle: '收藏和分享兼得'
description: '最好的收藏,不过是分享'
keywords: 个人技术的分享圈子,欢迎各圈大佬观摩
author: Hxx
language: zh-CN
timezone: ''

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://www.dearmsdan.com
root: /
permalink: :year/:month/:day/:title/
# permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing index.html from permalinks

# Directory 默认配置就好了
source_dir: source
public_dir: D:\server\apache-tomcat-7.0.52\webapps\WWW
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: README.md
# 不渲染

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: false
line_number: true
auto_detect: false
tab_replace: ''

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 5
order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## Use post's date for updated date unless set in front-matter
use_date_for_updated: false

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: dearmsdan #landscape
## landscape

# 使用搜索功能
search:
path: search.xml
field: post
format: html
limit: 10000

# Deployment

## Docs: https://hexo.io/docs/deployment.html

deploy:
type: git
repo:
coding: https://e.coding.net/zhd99/dearmsdan.git
github: https://github.com/ZHD99/zhd99.github.io.git
gitee: https://gitee.com/zhd99/zhd99.git
branch: master

1.0

22:45 2020/2/10 hexo-theme-dearmsdan 初始主题的目录如下
1.0 hexo初始纯净主题下载

2.0

14:25 2020/2/21 hexo-theme-dearmsdan 进行样式性的更改 完毕
hexo-theme-dearmsdan主题下载

3.0

本文作者: 德阿姆斯丹 · 迪尔斯
本文链接: http://blog.dearmsdan.com/2020/02/10/structure/