Add avatar
This commit is contained in:
parent
ddecaf82dd
commit
b7c7ca5f51
|
@ -3,7 +3,7 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "yarn --cwd ./themes/suka --production;hexo generate",
|
||||
"build": "hexo generate",
|
||||
"clean": "hexo clean",
|
||||
"deploy": "hexo deploy",
|
||||
"server": "hexo server"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: 关于我
|
||||
date: 2020-12-19 23:04:55
|
||||
---
|
||||
<div align="center">
|
||||
<a href="https://github.com/186526"><img src='https://github-readme-stats.vercel.app/api?username=186526&hide_border=true' alt='github stats' /></a>
|
||||
<h3>一个爱写bug的开发者</h3>
|
||||
</div>
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: 友链
|
||||
date: 2020-12-19 23:08:35
|
||||
---
|
||||
请 ->[https://186526.xyz/](https://186526.xyz)<- 请
|
|
@ -100,10 +100,10 @@ nav:
|
|||
use: false
|
||||
link: /search
|
||||
pages:
|
||||
#About:
|
||||
#link: /about/
|
||||
#Friends:
|
||||
#link: /links/
|
||||
"关于":
|
||||
link: /about/
|
||||
"朋友":
|
||||
link: /links/
|
||||
|
||||
# SNS Share Switch
|
||||
# Used to choose which items will be displayed in share menu.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!-- ## Header ##-->
|
||||
<header>
|
||||
<h1 class="header-title text-center"><a href="<%= config.root %>"><%= config.title %></a></h1>
|
||||
<h1 class="header-title text-center"> <img src="https://i.186526.xyz/avatar" alt="Avatar" style="border-radius:100%;width:150px;"><br><a href="<%= config.root %>"><%= config.title %></a></h1>
|
||||
|
||||
<p class="text-center header-slogan">
|
||||
<% if (theme.uiux.slogan) { %>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,35 +2,35 @@ console.log('\n %c 186526\'s Blog | © 186526 \n', 'color: #fff; background: #44
|
|||
window.addEventListener("load", () => {
|
||||
whenAvailable("Pjax", () => {
|
||||
const pjax = new Pjax({
|
||||
elements:"a:not([target=_blank])",
|
||||
elements: "a:not([target=_blank])",
|
||||
selectors: [
|
||||
"title",
|
||||
"meta[name=description]",
|
||||
".pjax",
|
||||
],
|
||||
cacheBust:!1
|
||||
cacheBust: !1
|
||||
});
|
||||
});
|
||||
document.addEventListener("pjax:send",send);
|
||||
document.addEventListener("pjax:success",suc);
|
||||
document.addEventListener("pjax:send", send);
|
||||
document.addEventListener("pjax:success", suc);
|
||||
});
|
||||
window.addEventListener('load', () => {
|
||||
if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js", { scope: "/" }).then((function (e) { })).catch((function (e) { })); let e = !1; navigator.serviceWorker.addEventListener("controllerchange", () => { e || (e = !0, alert("正在更新Service Worker……"), window.location.reload()) }) }
|
||||
});
|
||||
let send = () => {
|
||||
whenAvailable("NProgress",()=>{
|
||||
whenAvailable("NProgress", () => {
|
||||
NProgress.inc();
|
||||
});
|
||||
};
|
||||
let suc = () => {
|
||||
whenAvailable("NProgress",()=>{
|
||||
whenAvailable("NProgress", () => {
|
||||
NProgress.done();
|
||||
});
|
||||
whenAvailable("LazyLoad",()=>{
|
||||
whenAvailable("LazyLoad", () => {
|
||||
new LazyLoad();
|
||||
});
|
||||
if(valinestatus){
|
||||
whenAvailable("Valine",()=>{
|
||||
if (valinestatus) {
|
||||
whenAvailable("Valine", () => {
|
||||
valinedo();
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue