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

可不可以通过自定义字段把单页的发布日期隐藏掉 #2

Closed
xzyone opened this issue Oct 2, 2019 · 3 comments
Closed

Comments

@xzyone
Copy link

xzyone commented Oct 2, 2019

Mirages的自定义字段有修改主标题和副标题的功能,大佬能不能也加上这个功能。有时候单页不需要显示发布日期

@BigCoke233
Copy link
Owner

你的意思是添加一个自定义字段来控制页面发布日期的显示吗?可以

BigCoke233 added a commit that referenced this issue Oct 4, 2019
@xzyone
Copy link
Author

xzyone commented Oct 4, 2019

对,就像Mirages的mastheadTitle和mastheadSubtitle字段,分别自定义单页或者文章页的标题和副标题(时间栏)。

  • 如果不定义,文章页显示默认的标题和时间
    1

  • 如果定义mastheadTitle=你好世界,mastheadSubtitle=Hello World!,文章页显示自定义的标题副标题
    2
    3

@BigCoke233
Copy link
Owner

理解了,但是我觉得没什么必要。我设置了一个字段,来替换所有的元信息(评论数、日期)

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

No branches or pull requests

2 participants