[Kyana]极简博客园主题
作者:互联网
00| 前排提示
主题千万条,好用第一条。
配置深似海,一入两行泪。
01| 涉及的主题
具体的演示效果点击链接查看。按照配置由简到繁介绍。
使用前需要注意,没有说明默认的设置:
- 开启js权限,开启侧边栏公告,禁用模板样式
- 使用Custom主题,highlight高亮并禁用行号
02|直接抄配置
silence
将下述代码复制到侧边栏公告,复制链接中的CSS代码到样式中
<script>
window.$silence = {
avatar: '',
navbars: [
{
title: '标签',
url: ''
},
{
title: '朋友',
children: [
{
title: '',
url: ''
}
]
}
],
showNavAdmin: false,
hljsln: true,
signature: {
enable: true,
author: null,
license: ['',''],
remark: ''
},
sponsor: {
enable: true,
alipay: ''
}
};
</script>
<script src="https://fastly.jsdelivr.net/gh/esofar/cnblogs-theme-silence/dist/silence.min.js"></script>
SimpleMemory
awescnb
该主题下有多款皮肤可以选择,更换不同皮肤可能需要对配置微调
reacg
页脚HTML
<script src="https://guangzan.gitee.io/awescnb/index.js"></script>
<script>
const opts = {
theme: {
avatar: '',
title: '',
headerBackground: ''
},
signature: {
enable: true,
contents: [
"技术宅拯救世界。"
],
},
darkMode: {
enable: true,
autoDark: true,
autoLight: true
},
imagebox: {
enable: true,
},
links: [
{
name: '',
link: ''
},
],
github: {
enable: true,
color: '#ffb3cc',
url: '',
},
gitee: {
enable: true,
color: '#C71D23',
url: '',
},
musicPlayer: {
enable: true,
autoplay: true,
lrc: {
enable: false,
type: 1,
color: '#10ac84',
},
audio: [
{
name: 'Starfall',
artist: '袁娅维TIA RAY',
url:
'http://music.163.com/song/media/outer/url?id=1426087898.mp3',
cover:
'https://uploadstatic.mihoyo.com/contentweb/20200317/2020031711240192794.jpg',
},
]
},
live2d: {
enable: true,
page: 'all',
agent: 'pc',
model: 'haru-02',
width: 150,
height: 200,
position: 'left',
gap: 'default',
},
}
$.awesCnb(opts)
</script>
页首HTML
<div id="loading"><div class="loader-inner"></div></div>
标签:极简,enable,title,url,博客园,color,Kyana,true,silence 来源: https://www.cnblogs.com/kyana/p/16412015.html