【Joe2.0】Halo-theme-joe2.0 主题发布 🚀🚀🚀
牛啊,太炫了
a614914332 哈哈,还得再完善
- 已编辑
authon 在主题设置里的css加的这段
.github-badge {
display: inline-block;
border-radius: 4px;
text-shadow: none;
font-size: 12px;
color: #fff;
line-height: 15px;
background-color: #ABBAC3;
margin-bottom: 5px;
text-align:center;
}
.github-badge .badge-subject {
display: inline-block;
background-color: #4D4D4D;
padding: 4px 4px 4px 6px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.github-badge .badge-value {
display: inline-block;
padding: 4px 6px 4px 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.github-badge .bg-brightgreen {
background-color: #4DC820 !important;
}
.github-badge .bg-orange {
background-color: #FFA500 !important;
}
.github-badge .bg-yellow {
background-color: #D8B024 !important;
}
.github-badge .bg-blueviolet {
background-color: #8833D7 !important;
}
.github-badge .bg-pink {
background-color: #F26BAE !important;
}
.github-badge .bg-red {
background-color: #e05d44 !important;
}
.github-badge .bg-blue {
background-color: #007EC6 !important;
}
.github-badge .bg-lightgrey {
background-color: #9F9F9F !important;
}
.github-badge .bg-grey, .github-badge .bg-gray {
background-color: #555 !important;
}
.github-badge .bg-lightgrey, .github-badge .bg-lightgray {
background-color: #9f9f9f !important;
}
body{
font-family: Georgia, -apple-system, 'Nimbus Roman No9 L', 'PingFang SC', 'Hiragino Sans GB', 'Noto Serif SC', 'Microsoft Yahei', 'WenQuanYi Micro Hei', 'ST Heiti', sans-serif;
}
按文档设置
location / {
gzip_static on; # 静态压缩
add_header Cache-Control public,max-age=60,s-maxage=60; # 配置缓存
proxy_set_header HOST $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8090;
}
这样就全部缓存了呀
怎么设置才能只缓存前台博客
不缓存后台管理呢
具体怎么操作呢
望告知,万分感谢
更新了1.5.0之后,我的Joe主题右边的目录栏点击貌似有的无法正常跳转了,不知道是不是我一个人的问题,
目录点击可以【正常跳转】的:
https://blog.laoda.de/archives/mac-app-2021#视频
https://blog.laoda.de/archives/host-static-sites-on-npm#推荐阅读
目录点击【无法正常跳转】的:
https://blog.laoda.de/archives/cheap-vps-racknerd#购买建议和注意事项
https://blog.laoda.de/archives/useful-script#docker相关
https://blog.laoda.de/archives/backup-server-series#视频
类似的还有很多,需要一一点开才能知道,没啥规律
环境信息
版本:1.5.0
数据库:H2 1.4.199 (2019-03-13)
运行模式:production
启用主题:Joe2.0
User Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
Joe主题最新版本
gugu 目录点击【无法正常跳转】的:https://blog.laoda.de/archives/backup-server-series#视频 其他俩仙总帮忙修复了
还有发现一个就是代码块如果是“plain text”,复制按钮会失效,如果是“bash”,则可以正常复制。