Giter Club home page Giter Club logo

Comments (9)

Huxpro avatar Huxpro commented on June 7, 2024

@new-xd 跟这个 issue 应该类似:#18

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

恩 第一个问题是重复的。

第二个问题有解决方案吗?

我又改了下排版,这样清楚点

from huxpro.github.io.

Huxpro avatar Huxpro commented on June 7, 2024

@new-xd 第二个问题应该跟 date 值没有关系(除非你格式写错了);每次在根目录执行 jekyll build 时就会做一次生成, jekyll serve 则会做一次生成然后起一个服务,你可以再测试下;如果还未能解决可以给我你的仓库地址

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

我尝试 提交到github上了,可以正常显示。。。。。。
但是在本地 确实不可以。

也就是说,我本地的jekyll环境有问题。

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

我这边的能显示出来的blog, post时间解析 也 稍有问题,

2016-01-08 23:00:00

这样的时间 会被解析为 1月9日

from huxpro.github.io.

Huxpro avatar Huxpro commented on June 7, 2024

@new-xd 你看一下你的文件标题

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

发现了一个讨论这个问题的issue
是 时区 有问题,时间值加上时区信息就不会有错

date:       2016-01-09 18:22:00+0800

还需要看下那个issue最终的解决方案是什么。

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

看到最后也没看明白最终的解决方案是什么样的。
不过有提到Ruby2.2应该是对这个问题有一些修改。
而我这边由于是win7,所以是按照非官方文档安装的ruby2.0。
估计ruby版本高于2.2的朋友应该没问题。

from huxpro.github.io.

new-xd avatar new-xd commented on June 7, 2024

使用Chocolatey重新安装了ruby jekyll
ruby版本 2.2.3p173 jekyll版本 3.0.1
本地博客时间还是不对,date的格式中还是需要添加时区信息

from huxpro.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.