Comments (15)
你的博客源markdown文件的date字段是什么?如果和显示一样的话,就不是主题的问题,而是使用hexo生成markdown文件的时候出现的问题,可能需要你去设置一些东西。
from hexo-theme-ylion.
@GeekaholicLin 我markdown文件里没设置date属性
from hexo-theme-ylion.
这就很难受了。你有没有线上文章的地址以及源文件?话说'hexo new post postname'的时候不是会自动添加日期的吗?难道现在改了?
from hexo-theme-ylion.
dateformat : "HH:mm:ss" 这样小时就会变成24小时的吧! @vip16 @GeekaholicLin
from hexo-theme-ylion.
@Lemonreds dateformat是这样的
from hexo-theme-ylion.
HH是大写的哦! 确认一样吗
from hexo-theme-ylion.
@Lemonreds 非常确认
from hexo-theme-ylion.
@GeekaholicLin 是自动添加日期的,添加的是24小时的,但是在页面上显示就变成了12小时的
from hexo-theme-ylion.
@vip16 不好意思,这阵子因为有一些事在忙,不能及时回复感到抱歉。可不可提供一下你的_comfig.yml以及显示出错的一篇文章的源文件呢?这样子我也不知道问题出现在哪里。主题的渲染只是从Hexo中读取相应的值,还有一种可能就是,用了am和pm的显示,但是我没有获取。所以,能提供一下相关文件是醉吼的了。
from hexo-theme-ylion.
from hexo-theme-ylion.
啊,说的不清楚,不是主题的config,是网站的config,把你个人的敏感信息去掉。
from hexo-theme-ylion.
我大概知道什么原因了。。。主题的锅。
from hexo-theme-ylion.
@vip16 感谢反馈~
该bug已修复,原因是主题使用helper函数的时候HH:mm:ss
写成了hh:mm:ss
请拉取最新的主题,注意备份好配置文件,如果重新部署没有问题后,就可以close issue了,再次感谢~
from hexo-theme-ylion.
@GeekaholicLin 看样子应该是这里了,我呆会试试看。
from hexo-theme-ylion.
@GeekaholicLin OK,解决了,真棒
from hexo-theme-ylion.
Related Issues (20)
- Pandoc render 想要加上 "-f markdown_github" 的設定,請問加在哪裡呢? HOT 2
- iframe 沒辦法置中 HOT 2
- 可以部分文章指定縮圖嗎? HOT 8
- tag 分類文章清單,有辦法呈現更多標題或摘要嗎?目前作法很難了解要不要看這篇文章 HOT 5
- LeanCloud REST API 可能有需要更新
- 删除文章后,热门文章处还会显示已删除的文件 HOT 2
- 对于ylion 更换代码主题的小疑惑 HOT 4
- leancloud统计有问题 HOT 1
- 文章不支持<!--more-->吗... HOT 2
- LeanCloud您的应用使用超限 HOT 1
- markdown 中使用 [TOC] 生成目录后,为啥在博客上不显示对应的目录呢? HOT 1
- 那个作品的界面怎么配 HOT 2
- Disqus 設定後不能正常建置 HOT 1
- hexo g "color is required!" error HOT 4
- 如何开启评论功能的疑问
- 请问有没有计划支持valine评论 HOT 1
- Translation
- 遇到报错无法使用
- 预览页面链接失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-ylion.