-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_config.aurora.yml
372 lines (341 loc) · 14.4 KB
/
_config.aurora.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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
#! ---------------------------------------------------------------
#! Site Configs
#! @docs https://aurora.tridiamond.tech/guide/configuration.html
#! ---------------------------------------------------------------
site:
subtitle: Marin's Blog
author: Marin Bivol
nick: adminy
description:
link: '/'
language: en
multi_language: true
logo: https://avatars.githubusercontent.com/u/22717869?v=4
avatar: https://avatars.githubusercontent.com/u/22717869?v=4
#! ---------------------------------------------------------------
#! Authors Configs
#! @docs https://aurora.tridiamond.tech/guide/authors.html
#! ---------------------------------------------------------------
authors:
##! example
adminy:
name: Marin Bivol
avatar: https://avatars.githubusercontent.com/u/22717869?v=4
link: https://github.com/adminy
description: "Beat me in simplicity and I'll tell you all the secrets!"
socials:
github: https://github.com/adminy
#! ---------------------------------------------------------------
#! Menu Configs
#! @docs https://aurora.tridiamond.tech/guide/menu.html
#! ---------------------------------------------------------------
menu:
About: true
Tags: true
Archives: true
#! ------------------------------------------------f---------------
#! Theme Config
#! @docs https://aurora.tridiamond.tech/guide/theme.html
#! ---------------------------------------------------------------
theme:
dark_mode: true
profile_shape: rounded # support `circle`, `diamond`, `rounded`
feature: true
gradient:
color_1: '#bdc3c7'
color_2: '#697c8c'
color_3: '#2c3e50'
postEdit:
enable: true
url: https://github.com/adminy/adminy.github.io/tree/master/source/_posts/ # Link for view source
#url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # Link for fork & edit
# → #
# gradient:
# color_1: '#24c6dc'
# color_2: '#5433ff'
# color_3: '#ff0099'
#! ---------------------------------------------------------------
#! Social Configs
#! @docs https://aurora.tridiamond.tech/guide/social.html
#! ---------------------------------------------------------------
socials:
github: 'https://github.com/adminy'
twitter: 'https://twitter.com/adminy8'
stackoverflow: 'https://stackoverflow.com/users/4316850/got-to-figure'
customs:
instagram:
icon: fa-brands fa-instagram
link: https://instagram.com/god8luck
discord:
icon: fa-brands fa-discord
link: https://discord.gg/spxDansF
##! Example:
##! --- Using SVG
# bilibili:
# icon: http://localhost:4000/svg/bilibili.svg
# link: https://live.bilibili.com/22619211
##! --- Using IconFont
# baidu:
# icon: iconfont icon-baidu
# link: https://live.bilibili.com/22619211
##! --- Using FontAwesome
# book:
# icon: far fa-address-book
# link: https://live.bilibili.com/22619211
#! ---------------------------------------------------------------
#! Site Meta Configs
#! @docs https://aurora.tridiamond.tech/guide/theme.html
#! ---------------------------------------------------------------
site_meta:
cdn: en
favicon:
description: ''
keywords: ''
author: ''
#! ---------------------------------------------------------------
#! Plugins
#! @docs https://aurora.tridiamond.tech/guide/plugins.html
#! ---------------------------------------------------------------
giscus:
enable: false
repo: 'adminy/adminy.github.io'
repoId: 'MDEwOlJlcG9zaXRvcnk5ODA4NzE5NA=='
category: 'General'
categoryId: 'DIC_kwDOBdixGs4CSQhK'
# Available values: pathname | url | title | og:title
mapping: pathname
# Available values: 0 | 1
reactionsEnabled: 1
# Available values: 0 | 1
emitMetadata: 1
# Available values: light | dark | dark_high_contrast | transparent_dark | preferred-color-scheme
theme: dark
# Available values: en | zh-C
lang: en
# Available value: anonymous
crossorigin: anonymous
# Place the comment box above the comments
inputPosition: top
# Load the comments lazily
loading: lazy
# Enable Busuanzi statistic plugin
# see http://ibruce.info/2015/04/04/busuanzi/
# busuanzi:
# enable: false
# copy_protection:
# enable: true
# author:
# cn: 作者
# en: Author
# link:
# cn: 本文来自于
# en: Article is from
# license:
# cn: 博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议
# en: This content is shared under the CC BY-NC-SA 4.0 protocol (Non-Commercial)
#! ---------------------------------------------------------------
#! Injections
#! @docs https://aurora.tridiamond.tech/guide/site-meta.html#custom-meta
#! ---------------------------------------------------------------
injects:
scripts:
# - <script src="https://giscus.app/client.js" data-repo="adminy/adminy.github.io" data-repo-id="MDEwOlJlcG9zaXRvcnk5ODA4NzE5NA==" data-category="General" data-category-id="DIC_kwDOBdixGs4CSQhK" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="1" data-input-position="top" data-theme="dark" data-lang="en" data-loading="lazy" crossorigin="anonymous" async></script>
css:
#! ---------------------------------------------------------------
#! Enable Aurora Bot Dia
#! @docs https://aurora.tridiamond.tech/guide/site-meta.html#custom-meta
#! ---------------------------------------------------------------
aurora_bot:
# ======================================================
# Set to true to turn on your lovely cute bot.
# ======================================================
enable: true
# ======================================================
# The bot comes with two languages support
# -- en: for English
# -- cn: for Chinese
# ======================================================
locale: en
# ======================================================
# Currently only support using Dia, will support live2d in the future.
# ======================================================
bot_type: dia
# This tips are used to react to user interactions
tips:
# ======================================================
# These are random messages that Dia will say every 30 seconds.
# ======================================================
messages:
- Hi, I am <span>Dia</span>, I am here to help you~
- Long time no see, time passes with the blink of the eyes...
- Hi~ Come play with me!
- '*Hammer your chest with my kitty fist*'
# This is a special function which will trigger the quotes API
# and Dia will say out the daily quote message.
- showQuote
# ======================================================
# This will trigger when user open the browser console.
# ======================================================
console: LOL, you opened the console, want to find out my little secrets?
# ======================================================
# This will trigger when user copy things off your blog.
# ======================================================
copy: What have you copied? Remember to add the source when using it!
# ======================================================
# This will trigger when user come back to the window.
# ======================================================
visibility_change: Welcome back my friend!~
# ======================================================
# Welcome messages, the number is the time of the day.
# -----------------------------------
# eg: 24 = 00:00 which is midnight
# eg: 17-19 = during 5pm to 7pm
# -----------------------------------
# During this time of the day, Dia will greet your readers
# with the corresponding message.
# ======================================================
welcome:
'24': Are you a night owl? Will you able get up tomorrow?
'5_7':
Good morning! The plan for a day lies in the morning, and a beautiful day
is about to begin.
'7_11': Good morning! How is your day doing? don't sit for too long!
'11_13': It's noon, Must have being working all morning, and it's lunch time!
'13_17': It's easy to get sleepy in the afternoon. Have a cup of coffee maybe?
'17_19': It's evening! The sunset outside the window is beautiful.
'19_21': Good evening, how are you doing today?
'21_23':
- It's getting late, rest early, good night~
- Take good care of your eyes!
# ======================================================
# This is used when your user come from a Search Engine.
# ======================================================
referrer:
# User came from your own site.
self: Welcome to <span>「[PLACEHOLDER]」</span>
# User came from Baidu search engine.
baidu:
Hello!Friend from Baidu search engine,<br>did you search <span>「[PLACEHOLDER]」</span>
to find me?
# User came from 360 search engine.
so:
Hello!Friend from 360 search engine,<br>did you search <span>「[PLACEHOLDER]」</span>
to find me?
# User came from Google search engine.
google: Hello!Friend from Google search engine,<br>enjoy your time reading <span>「[PLACEHOLDER]」</span>
# User came from another website.
site: Hello there, friend from <span>[PLACEHOLDER]</span>
# For any other source.
other: Thanks for reading <span>「[PLACEHOLDER]」</span>
# ======================================================
# When your `mouse hover` on to certain HTML tag, Dia will
# give your user a message to help them out.
# ------------------------------------------------------
# selector: tag selector (you can use any css selector for this)
# text: this is the message(s) that Dia will say. (If you want
# Dia to say a random one from a set of messages, set it with
# array, else just plain text)
# ======================================================
mouseover:
# Hover on Dia
- selector: '#Aurora-Dia'
text:
- Waaaaaaaa...What are you <span>doing</span>? O.O
- Please be gentle, I am very delicate! O.O
- '<span>Sir yes sir!</span> What can I help you with? O.O'
# Hover on home menu
- selector: "[data-menu='Home']"
text:
- 'Click to go to the <span>home page</span>. '
- Yes, click here to go <span>back home</span>.
- Go take a look at the <span>home page</span>.
# Hover on about menu
- selector: "[data-menu='About']"
text:
- You want to know more about my <span>master</span>?
- Here hides all the <span>secrets of my master</span>, want to take a look?
- Found my master's <span>secret hideout</span>!
# Hover on archives menu
- selector: "[data-menu='Archives']"
text:
- Here stores all the <span>works</span> my master had done!
- Wanna see my master's <span>library?</span>
- Yes, my masters' <span>ancient histories</span> are all here!
# Hover on tags menu
- selector: "[data-menu='Tags']"
text:
- Click here to look at <span>article tags</span>.
- Tags are used to better <span>categorize</span> your articles.
# Hover on language menu
- selector: "[data-dia='language']"
text: Master's blog supports multiple <span>languages.</span>
# Hover on light and dark switch
- selector: "[data-dia='light-switch']"
text:
You can switch between <span>light</span> and <span>dark</span> mode, click
the switch to see the magic!
# Hover on author profile
- selector: "[data-dia='author']"
text:
- Here is a short profile of my master.
- Click any of these links can teleport to my master's other worlds.
# Hover on jump to comment menu in article page.
- selector: "[data-dia='jump-to-comment']"
text:
- Do you want to check out the comments?
- Click here will help you jump right into the comments section.
# ======================================================
# When your `mouse on click` for certain HTML tag, Dia will
# give your user a message to help them out.
# ------------------------------------------------------
# Properties is same as `moveover` event
# ======================================================
click:
# Click on search button.
- selector: "[data-dia='search']"
text:
- Didn't find what you are looking for? Try search it here!
- You can also use <span>ctrl/cmd + k</span> keyboard shortcut to open the search
menu.
# Click on article header link.
- selector: "[data-dia='article-link']"
text:
- Enjoy reading:<span>「{text}」</span>.
- That's a good pick, enjoy time reading this article.
- Hope you can learn something from:<span>「{text}」</span>.
# Click on comments
- selector: '#comments'
text:
- Wanna write something?
- Be sure write your comment carefully meow~
- Anything you want to say to the author?
- If you think the article is good, leave a message for the author.
# ======================================================
# During certain special date Dia will greet your readers.
# ------------------------------------------------------
# date: date of the special event (format: month/day or month/day - month/day)
# text:
# --- Single text just use a simple string.
# --- Random set of message, use array config format.
# ======================================================
events:
- date: 01/01
text: '<span>Happy new year</span>,{year}~'
- date: 02/14
text: It's <span>Valentine's Day</span>,have you found your loved one in {year}?
- date: 03/08
text: Today is <span>International Women's Day</span>!
- date: 04/01
text:
Tell you a secret, don't trust anyone today, because today is <span>April
Fool</span>
- date: 05/01
text: Today is <span>International Labour Day</span>,have you planned to go travel?
- date: 12/20-12/30
text:
These few days is <span>Christmas</span>,my master must being shopping like
crazy!
- date: 12/31
text:
Today is <span>New Year's Eve</span>, this year is going away, but next year
is going to be better!