博客主题源码和配置文件

今日收到打赏,付款方备注:

哈喽,你的虹墨空间站很棒啊!先单纯赞助下。另外想问下框架的源码方便提供吗?本人无前段经验,只想要个框架往里面添加笔记文档

请不要在打赏备注中提问问题……

由于打赏无法直接回复,也看不到联系方式,所以在此回复:感谢打赏,博客框架的源码(也就是主题?)在这里可以找到:https://github.com/imaegoo/hexo-theme-icarus,具体用法和原版 hexo-theme-icarus 基本一致,您只需要按照 Hexo 主题的起步文档,就能很快搭建一个一模一样的出来了。

以下附上本站的完整主题配置文件,供有需要的朋友参考。

_config.icarus.yml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# Version of the configuration file
version: 5.1.0
# Icarus theme variant, can be "default" or "cyberpunk"
variant: default
# Path or URL to the website's logo
logo:
light: /images/logo.png
dark: /images/logo-dark.png
# Page metadata configurations
head:
# URL or path to the website's icon
favicon: /favicon.ico
# Canonical URL of the current page
#canonical_url:
# Open Graph metadata
# https://hexo.io/docs/helpers.html#open-graph
#open_graph:
# Page title (og:title) (optional)
# You should leave this blank for most of the time
#title:
# Page type (og:type) (optional)
# You should leave this blank for most of the time
#type: blog
# Page URL (og:url) (optional)
# You should leave this blank for most of the time
#url:
# Page cover (og:image) (optional) Default to the Open Graph image or thumbnail of the page
# You should leave this blank for most of the time
#image:
# Site name (og:site_name) (optional)
# You should leave this blank for most of the time
#site_name:
# Page author (article:author) (optional)
# You should leave this blank for most of the time
#author:
# Page description (og:description) (optional)
# You should leave this blank for most of the time
#description:
# Twitter card type (twitter:card)
#twitter_card:
# Twitter ID (twitter:creator)
#twitter_id:
# Twitter ID (twitter:creator)
#twitter_site:
# Google+ profile link (deprecated)
#google_plus:
# Facebook admin ID
#fb_admins:
# Facebook App ID
#fb_app_id:
# Structured data of the page
# https://developers.google.com/search/docs/guides/intro-structured-data
structured_data:
# Page title (optional)
# You should leave this blank for most of the time
title:
# Page description (optional)
# You should leave this blank for most of the time
description:
# Page URL (optional)
# You should leave this blank for most of the time
url:
# Page author (article:author) (optional)
# You should leave this blank for most of the time
author:
# Page images (optional) Default to the Open Graph image or thumbnail of the page
# You should leave this blank for most of the time
image:
# Additional HTML meta tags in an array
meta:
# Meta tag specified in <attribute>=<value> style
# E.g., name=theme-color;content=#123456 => <meta name="theme-color" content="#123456">
- ''
# URL or path to the website's RSS atom.xml
rss: /atom.xml
# Page top navigation bar configurations
navbar:
# Naviagtion menu items
menu:
首页: /
时间轴: /archives/
分类: /categories/
标签: /tags/
网盘: 'https://imaegoo.azurewebsites.net'
留言板: /messages/
友情链接: /friends/
关于: /about/
# Links to be shown on the right of the navigation bar
links:
# Admin:
# icon: fas fa-cog
# url: 'https://admin.imaegoo.com'
# Page footer configurations
footer:
# Links to be shown on the right of the footer section
links:
Creative Commons:
icon: fab fa-creative-commons
url: 'https://creativecommons.org/'
Attribution 4.0 International:
icon: fab fa-creative-commons-by
url: 'https://creativecommons.org/licenses/by/4.0/deed.zh'
icp: '豫ICP备18017229号'
# Article related configurations
article:
# Code highlight settings
highlight:
# Code highlight themes
# https://github.com/highlightjs/highlight.js/tree/master/src/styles
theme: atom-one-light
# Show copy code button
clipboard: true
# Default folding status of the code blocks. Can be "", "folded", "unfolded"
fold: unfolded
# Whether to show thumbnail image for every article
thumbnail: true
# Whether to show estimated article reading time
readtime: true
# Whether to show updated time. For \"auto\", shows article update time only when page.updated is set and it is different from page.date
update_time: auto
# Article licensing block
licenses:
Creative Commons:
icon: fab fa-creative-commons
url: 'https://creativecommons.org/'
'CC BY 4.0': 'https://creativecommons.org/licenses/by/4.0/deed.zh'
# og_image
og_image: /images/og_image.png
# Search plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/
search:
type: insight
json: /content.json
# Comment plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
comment:
# Name of the comment plugin
type: twikoo
envId: https://twikoo.imaegoo.com
jsUrl: /js/imaegoo/twikoo/1.6.7/twikoo.min.js
# type: utterances
# repo: imaegoo/imaegoo.github.io
# issue_term: pathname
# label: utterances
# theme: preferred-color-scheme
# Donate plugin configurations
donates:
# Alipay donate button configurations
-
type: alipay
# Alipay qrcode image URL
qrcode: '/images/alipay.jpg'
# Wechat donate button configurations
-
type: wechat
# Wechat qrcode image URL
qrcode: '/images/wechat.png'
# Share plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Share/
# Sidebar configurations.
# Please be noted that a sidebar is only visible when it has at least one widget
sidebar:
# Left sidebar configurations
left:
# Whether the sidebar sticks to the top when page scrolls
sticky: true
# Right sidebar configurations
right:
# Whether the sidebar sticks to the top when page scrolls
sticky: true
# Sidebar widget configurations
# http://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/
widgets:
# Profile widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: profile
# Author name
author: iMaeGoo
# Author title
author_title: 虹墨空间站
# Author's current location
location: Zhengzhou, China
# URL or path to the avatar image
avatar: /images/avatar.jpg
# Whether show the rounded avatar image
avatar_rounded: true
# Email address for the Gravatar
gravatar:
# URL or path for the follow button
follow_link: 'https://space.bilibili.com/4750943'
# Links to be shown on the bottom of the profile widget
social_links:
GitHub:
icon: fab fa-github
url: 'https://github.com/imaegoo'
QQ:
icon: fab fa-qq
url: 'https://jq.qq.com/?_wv=1027&k=2l9ZGIoL'
Mail:
icon: fas fa-envelope
url: 'mailto:hello@imaegoo.com'
RSS:
icon: fas fa-rss
url: '/atom.xml'
# Archives widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: archives
# Categories widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: categories
# Tags widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: tags
# Recommendation links widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: links
# Names and URLs of the sites
links:
maemoの風船が!: 'https://maemo.cc'
米米的博客: 'https://zhangshuqiao.org'
辣椒の酱: 'https://removeif.github.io'
Sakitami的集装箱: 'https://blog.skihome.xyz'
明月逐人归: 'https://mingshan.fun'
宇宙湾: 'https://yuzhouwan.com'
Ray’s Blog: 'https://raycoder.me'
# Google AdSense unit configurations
#-
# # Where should the widget be placed, left sidebar or right sidebar
# position: left
# type: adsense
# # AdSense client ID
# client_id: 'ca-pub-5716633754544549'
# # AdSense AD unit ID
# slot_id: '6035187824'
# Table of contents widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: toc
# Recent posts widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: recent_posts
# Twikoo new comment widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: twikoo_new
envId: https://twikoo.imaegoo.com
# Plugin configurations
plugins:
# Enable page startup animations
animejs: false
# Show the "back to top" button
back_to_top: true
# Baidu Analytics plugin settings
# https://tongji.baidu.com
baidu_analytics:
# Baidu Analytics tracking ID
tracking_id: 4d5b97d11341c6f57b58fc622dc1ac38
# BuSuanZi site/page view counter
# https://busuanzi.ibruce.info
busuanzi: true
# Enable the lightGallery and Justified Gallery plugins
# https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/
gallery: true
# Google Analytics plugin settings
# https://analytics.google.com
google_analytics:
# Google Analytics tracking ID
tracking_id:
# Hotjar user feedback plugin
# https://www.hotjar.com/
hotjar:
# Hotjar site id
site_id:
# Enable the KaTeX math typesetting supprot
# https://katex.org/
katex: false
# Enable the MathJax math typesetting support
# https://www.mathjax.org/
mathjax: false
# Enable the Outdated Browser plugin
# http://outdatedbrowser.com/
outdated_browser: false
# Show a progress bar at top of the page on page loading
progressbar: false
cookie_consent:
# 同意对话框类型。可以为"info","opt-in",或"opt-out"
type: info
# 弹出框主题。可以为"block","edgeless",或"classic"
theme: edgeless
# 是否使弹出框固定,不随页面滚动而滚动
static: false
# 弹出框在屏幕上的位置
position: bottom-right
# 你网站的Cookie协议的URL
policyLink: '/cookies/'
# CDN provider settings
# https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/
providers:
# Name or URL template of the JavaScript and/or stylesheet CDN provider
cdn: host
# Name or URL template of the webfont CDN provider
fontcdn: host
# Name or URL of the fontawesome icon font CDN provider
iconcdn: host

完整的博客源码由于包含原始文章,为避免恶意的全站复制和转载,恕不会开源。

博客主题源码和配置文件

https://www.imaegoo.com/2022/dec-27/

作者

iMaeGoo

发布于

2022-12-27

更新于

2022-12-27

许可协议

CC BY 4.0

评论

微信二维码