hexo-theme-particlex 2.5.11 → 2.5.13
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -2
- package/_config.yml +3 -0
- package/layout/layout.ejs +3 -3
- package/package.json +1 -1
- package/source/css/main.css +1 -1
- package/source/images/favicon.png +0 -0
package/README.md
CHANGED
@@ -67,17 +67,20 @@ archive_generator:
|
|
67
67
|
|
68
68
|
## 3.1. 基本配置
|
69
69
|
|
70
|
+
`background` 参数是一个列表,打开时会随机加载一个背景
|
71
|
+
|
70
72
|
```yaml
|
71
73
|
# Avatar image
|
72
74
|
avatar: /images/avatar.jpg
|
73
75
|
|
76
|
+
# Favicon
|
77
|
+
favicon: /images/favicon.png
|
78
|
+
|
74
79
|
# Home page background image
|
75
80
|
background:
|
76
81
|
- /images/background.jpg
|
77
82
|
```
|
78
83
|
|
79
|
-
其中 Background 是一个列表,打开时会随机加载一个背景
|
80
|
-
|
81
84
|
## 3.2. 内容配置
|
82
85
|
|
83
86
|
### 3.2.1. 导航栏
|
package/_config.yml
CHANGED
package/layout/layout.ejs
CHANGED
@@ -15,13 +15,13 @@
|
|
15
15
|
<!DOCTYPE html>
|
16
16
|
<html lang="<%- config.language %>">
|
17
17
|
<head>
|
18
|
-
<meta charset="
|
18
|
+
<meta charset="utf-8" />
|
19
19
|
<title><%= title %></title>
|
20
20
|
<meta name="author" content="<%- config.author %>" />
|
21
21
|
<meta name="description" content="<%- config.description %>" />
|
22
22
|
<meta name="keywords" content="<%- config.keywords %>" />
|
23
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
|
24
|
-
<link rel="icon" href="<%- url_for(theme.
|
23
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
24
|
+
<link rel="icon" href="<%- url_for(theme.favicon) %>" />
|
25
25
|
<%- partial("import", { type }) %>
|
26
26
|
</head>
|
27
27
|
<body>
|
package/package.json
CHANGED
package/source/css/main.css
CHANGED
Binary file
|