Closed utterances-bot closed 3 years ago
适用最新版的主题代码之后构建的时候报错:
unknown block tag: timenode
好家伙, 看了文档, 原来是不兼容原来的了。
@cayzlh 是的,新的写法更加简洁了,此外,tab
标签也改成新的格式了,即去除了 <!-- endtab -->
结束标签。
文章摘能要不能有开始标签? 我在文章开头使用了二级标题,结果文章摘能还包括了我的标题。
@Naozumi520 要想不包含标题可以在 front-matter
中声明 description 并删除 <!-- more -->
摘要标签。例如:
---
title: xxx
description: 这是纯文本摘要
---
## 二级标题
正文
hello,我又来了,请教下为何你的wiki
的子目录是怎么做到没有index.html
后缀的。。如图:
你的:
我的:
@cayzlh 打开你的_config.yml文件
pretty_urls:
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
trailing_html: false # Set to false to remove trailing '.html' from permalinks
如果想要实现什么功能,建议先去Hexo官方文档里扫一眼先
@cayzlh 打开你的_config.yml文件
pretty_urls: trailing_index: false # Set to false to remove trailing 'index.html' from permalinks trailing_html: false # Set to false to remove trailing '.html' from permalinks
如果想要实现什么功能,建议先去Hexo官方文档里扫一眼先
3Q 搞定了, 很久没文档了, 以前看文档没注意到这点。
你好,请问如何设置左侧头像有彩虹描边动效,以及title下出现subtitle 。 之前设置有的。我改了一下设置就不见了。谢谢解答。
@zxfccmm4 头像描边默认就有的,在这里: https://github.com/xaoxuu/hexo-theme-stellar/blob/c3642292814755349a007460dab481015f115e10/_config.yml#L203-L205
subtitle 写在博客配置文件里:
subtitle: 'xxx'
@xaoxuu 大佬,我设置了配置文件,但是还是无法显示。 之前用白板配置亲测是可以的
对比文件变动记录看看改了什么
@zxfccmm 需要加标签
@xaoxuu 请问该如何操作,感激不尽
默认是不解析的,只有 issue 加了 active
标签才会被识别。
active
标签可以在配置文件里修改: _config.yml#L6-L10
这个机制是用来防止被恶意利用,如果想全自动而不经过审核的话,可以在 issue 模板里直接带上需要的标签。
@xaoxuu 谢谢大佬解答
大佬有没有遇到过这个问题,这不会前端,不知如何下手了。。
我最近也遇到了,但是重新 hexo s
可以用,不知道是不是算法过于低效占用内存超了限制。
我最近也遇到了,但是重新
hexo s
可以用,不知道是不是算法过于低效占用内存超了限制。
GitHub action
的配置文件加一行代码就可以了。
export NODE_OPTIONS="--max-old-space-size=8192"
话说大佬有考虑移植 Volantis
主题里的,text
、span
、p
标签插件么,就是截图里的这三个,写点笔记用这些标注还是蛮有用的。
@hermitlsr 修饰文本标签加上了
@xaoxuu 大佬神速,新的表情标签挺可爱的。
现在为侧边栏操碎了心 开始是删除了welcome组件,但本地查看时第一段话还是存在,后面在blog\node_modules\hexo-theme-stellar中把_config.yml删掉,本地上终于是正常了 但我把博客部署到vercel上后,那段话又出现了>﹏<,换了其他设备查看也是一样,不是浏览器缓存的原因。 所以这是在哪里出现了问题,望大佬解答(⊙﹏⊙)
@CAB233 请问是按照文档这里的路径写的吗?
@xaoxuu 之前不是按这个路径的,因为会报错。现在又试了一次,问题解决了,谢谢大佬(。・∀・)ノ゙
对新的emoji插件做了个表情的索引,目前有aru的 ,有需要的看这:stellar表情标签索引
您好,想再咨询一下,友链的静态格式中,url和avatar的格式应该是什么哇
@pzyer 写完整的链接地址
@xaoxuu 我使用noteblock标签的时候发现,如果在其中使用类似 行内`reg` 小代码块,它会默认使用 var(--block)
作为背景色,而非标签的 :
.tag-plugin[color='red'] {
--theme: #f44336;
--theme-border: #fab3ae;
--theme-bg: #fdecea;
}
而且使用{% u %}
标签也无法对这样的行内代码下划线,大佬有空可以看一看不。
具体如下图:
########################### 问题分割 ##############################
另外还有个问题,就是在本地使用hexo s
预览时,对文章进行改动会出现断掉连接的情况,一般是使用公式,或者标签插件的时候更容易断掉,其他情况下也会发生断掉链接,按命令行提示是 Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
,不知道有无办法解决,具体情况如下:
<--- Last few GCs --->
[12420:000002518B8285B0] 595138 ms: Mark-sweep (reduce) 4095.6 (4103.1) -> 4095.4 (4104.8) MB, 3078.7 / 0.0 ms (+ 76.3 ms in 16 steps since start of marking, biggest step 10.5 ms, walltime since start of marking 3160 ms) (average mu = 0.045, current mu[12420:000002518B8285B0] 597940 ms: Mark-sweep (reduce) 4096.4 (4106.8) -> 4095.9 (4107.6) MB, 2725.2 / 0.0 ms (+ 72.3 ms in 16 steps since start of marking, biggest step 10.8 ms, walltime since start of marking 2801 ms) (average mu = 0.024, current mu
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF65E1C3E0F napi_wrap+108911
2: 00007FF65E167E16 v8::base::CPU::has_sse+61910
3: 00007FF65E168D16 node::OnFatalError+294
4: 00007FF65EA40CEE v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF65EA25ACD v8::SharedArrayBuffer::Externalize+781
6: 00007FF65E8CF95C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
7: 00007FF65E8DACEA v8::internal::Heap::ProtectUnprotectedMemoryChunks+1258
8: 00007FF65E8D7E99 v8::internal::Heap::PageFlagsAreConsistent+2457
9: 00007FF65E8CCA71 v8::internal::Heap::CollectGarbage+2033
10: 00007FF65E8CAC95 v8::internal::Heap::AllocateExternalBackingStore+1349
11: 00007FF65E8EAFEB v8::internal::Factory::NewFillerObject+203
12: 00007FF65E619F81 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1409
13: 00007FF65EAC9BAD v8::internal::SetupIsolateDelegate::SetupHeap+465229
14: 000001051B135A0F
@hermitlsr 第一个有时间了改一下,第二个我也不知道怎么回事
@xaoxuu 对了下划线这些标签对公式$$
也有问题,使用后会使得公式无法识别,直接成$公式$
。
@MuziShaoxing 这个图片看起来不是完整的设备图,而且似乎比例也不太对。
主题真的很棒!简洁的同时满足了我绝大部分的需求,不过非常想要一个搜索功能 坐等更新~
请问可以设置暗黑模式默认打开吗?
@seldomlee 在计划中呢,不过大概要等到2.0,如果有pr的话可以会更早一点
@Shrimpwr 目前暂不支持,实在喜欢可以提个issue我有时间了加上,或者自己改一改源码
噢我的上帝!这个主题也太漂亮了!
请教下博主一般都是用什么软件来制作文章的封面图的?
网站卡片标签可以有势力吗,照着友链改不太会改呀
@Leaf-Jie 作者的网站是开源的可以直接参考
有没有办法更改博客日志排序或置顶某日志
@MuziShaoxing 排序看hexo文档 https://hexo.io/zh-cn/docs/configuration 置顶好像是:
pin: true
有没有考虑制作一个注释阅读,就是指定内容设置后鼠标悬浮弹出界面显示注释内容
@MuziShaoxing 可以用hexo-reference或者hexo-tag-hint实现,但这两个插件都多少有点水土不服(
@MCSeekeri hexo-tag-hint不错
如何更改页眉或页脚的文字内容?@xaoxuu
您好,请教一下这个404页面应该如何设置呢
对哦 突然发现,你这里面 没有饮用视频的方案哈,类似设备框架的不带框架
@pzyer 默认就有,暂时不支持自定义
一个实用简约主义的 Hexo 主题 - XAOXUU
这是一个全新的内置 wiki 系统的 hexo 主题,拥有简约而精美的视觉设计和丰富的标签插件。
https://xaoxuu.com/wiki/stellar/