Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{.title}} 模板需要修正的几个地方 #692

Closed
5 tasks done
deerainw opened this issue Dec 10, 2020 · 5 comments
Closed
5 tasks done

{{.title}} 模板需要修正的几个地方 #692

deerainw opened this issue Dec 10, 2020 · 5 comments
Assignees
Labels
Milestone

Comments

@deerainw
Copy link

deerainw commented Dec 10, 2020

使用 {{.title}} 模板后,发现有如下位置未被正确替换:

  • 在反向链接里,{{.title}} 未被替换成文档名
  • 在导出标准 Markdown 文件时,{{.title}} 未被替换成文档名
  • 书签、标签里,{{.title}} 未被替换成文档名
  • 在快速搜索里,{{.title}} 未被替换成文档名
  • 大纲中 {{.title}} 未被替换为标题名
@deerainw deerainw changed the title {{.title}} 模板需要修正的两个地方 {{.title}} 模板需要修正的几个地方 Dec 10, 2020
@88250 88250 self-assigned this Dec 10, 2020
@88250 88250 added the Bug label Dec 10, 2020
@DabengBa

This comment has been minimized.

@88250

This comment has been minimized.

@88250 88250 added this to the 0.5.4 milestone Dec 12, 2020
@88250 88250 closed this as completed Dec 15, 2020
@Vanessa219 Vanessa219 removed their assignment Dec 15, 2020
@deerainw
Copy link
Author

deerainw commented Dec 17, 2020

@88250

此问题未修复成功,现在引用一个文档的时候:

  1. 反向链接里的 {{.title}} 被替换成了文档正文(而不是标题)
  2. 导出标准 markdown 文件时 {{.title}} 被替换成了文档正文
  3. 快速搜索里 {{.title}} 被替换成了文档正文

上面列的另外两个 case 我没测试

@88250
Copy link
Member

88250 commented Dec 17, 2020

v0.5.41 中修复,谢谢。

@88250
Copy link
Member

88250 commented Dec 17, 2020

做了一个不兼容变更:废弃锚文本模板变量 {{.title}} #771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants