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 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
@@ -4,6 +4,9 @@
4
4
  # Avatar image
5
5
  avatar: /images/avatar.jpg
6
6
 
7
+ # Favicon
8
+ favicon: /images/favicon.png
9
+
7
10
  # Home page background image
8
11
  background:
9
12
  - /images/background.jpg
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="UTF-8" />
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.avatar) %>" />
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.5.11",
3
+ "version": "2.5.13",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -672,7 +672,7 @@ blockquote {
672
672
  background: #d9e8ff6b;
673
673
  border-left: 3px solid #1e3e3f;
674
674
  border-radius: 3px;
675
- display: flex;
675
+ overflow: auto;
676
676
  padding: 0 15px;
677
677
  }
678
678
  body {
Binary file