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

文章置顶 #206

Open
wuchangfeng opened this issue Mar 17, 2016 · 2 comments
Open

文章置顶 #206

wuchangfeng opened this issue Mar 17, 2016 · 2 comments

Comments

@wuchangfeng
Copy link

不知道有哪位知道不知道怎么将文章置顶?

@zhangolve
Copy link

由于文章是按照你写的时间顺序排列的,所以你可以将你想要置顶的文章时间写到足够大。比如写成下面这样:

title: 【置顶】example #文章页面上的显示名称,可以任意修改,不会出现在URL中
date: 2054-05-30 16:30:16 #文章生成时间,一般不改,当然也可以任意修改
categories: 大学 #分类
tags: [大学,生活] #文章标签,可空,多标签请用格式,注意:后面有个空格

description:

实践可行,就是很诡异,像是一篇来自未来的blog

@stevenjoezhang
Copy link

Hexo 已实现文章置顶参数: hexojs/hexo-generator-index#51

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

3 participants