Comments (10)
Check your post and page YAML. It's probably in the wrong format in one of your posts or pages. Needs to be YYYY-MM-DD
Do you have a link to the problem repo?
from minimal-mistakes.
Do you have a link to the problem repo?
No sorry it's a private repo.
It's probably in the wrong format in one of your posts or pages.
I just double check that it's possible but I think not. I think if there is really a problem with a wrong filename date_to_xmlschema(page.date)
should also fail.
from minimal-mistakes.
It's not the filename that's causing the problem, Jekyll would barf on that right away. In one of your post's or page's in the YAML front matter you can also set date:
and modified:
for the dates that are used in the "published on" line. If the format is wrong there the Liquid filter for converting the date into XML schema will fail.
Look through each of your posts and pages and make sure you're using the correct date format in the YAML front matter.
from minimal-mistakes.
I just check the date is not set by the YAML header in my case. So it parsed out of the filename:
https://github.com/jekyll/jekyll/blob/a0b30a9cc7200041c000dcbbc5266544fc680306/lib/jekyll/post.rb#L162
from minimal-mistakes.
Without a link to some code or a repo I really can't troubleshoot it further. In my experience the only time I've seen this error was from dates being set in the wrong format. Or maybe you have a Ruby gem that is out of date and needs updating.
from minimal-mistakes.
This happens to me when I get a new minimal mistakes theme and remove all the existing posts.
Edit: this was happening to me because I moved the existing posts in _posts out of the way and into a top-level subdirectory called "foo". jekyll looked in there and tried to parse the files but the post layout didn't get applied correctly because they weren't in the _posts directory. Moving foo outside of the jekyll site repo fixes this.
from minimal-mistakes.
@tgamblin I think I had the same problem as you. So I close this for now.
from minimal-mistakes.
I have the same problem.then i find that there is a .md file outof the dir _posts,delete it,it's work.(not't case my english)
from minimal-mistakes.
You can move the posts to an "example" directory without problems. You just have to add "example" to the exclude list in _config.yml.
from minimal-mistakes.
Thanks everyone! I finally caught the one left .md file which caused the problem!
from minimal-mistakes.
Related Issues (20)
- Highlight color for TOC in the dark skin HOT 1
- Just built a Docker image for the theme
- there is a error that can't fix "An error occurred while installing json (1.8.3)"
- A problem occured when github action was running HOT 2
- Removing the `sticky` tag from the sidebar has no effect
- Deprecation warnings relative to use of / outside of calc, will be removed in Dart Sass 2.0.0 HOT 1
- Breadcrumbs `Home` points to `github.com HOT 1
- Add support for child menues in matheader
- Neon Code Hightlighting Broken
- Search includes asset files HOT 1
- Iam getting this error Can you please help on this HOT 1
- greedy-navigation timeout causes inconsistent behaviour with translucency
- Google analytics update HOT 2
- Accessibility bug: the nav elements across the theme should have an aria-label
- monochrome and color (predefined) icons in author bio HOT 2
- Jekyll plugins HOT 3
- page.url variable pointing to wrong page (post) HOT 3
- Error when installing Theme HOT 1
- setup a ttc skin
- "You may also enjoy" recommends hidden posts, when it probably shouldn't HOT 1
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 minimal-mistakes.