Comments (4)
The problem with this is editing already published posts, you pretty much run into the same problem. I think using a date
option in the YAML front matter would be better.
from jekyll.
We've been discussing this in Issue #30. At the moment, the best way to do this is overriding date in YAML, as qrush suggested. Here's an example:
date: 2009-05-09 10:08:39 +02:00
This will override the date parsed from the filename.
from jekyll.
My fork gets time from the filename (2009-05-09_10-98-my-slug) or from time
in the YAML.
I considered using file modification times but after some experimentation it didn't seem like a good idea. Would need some other form of metadata to account for imported old stuff anyway.
from jekyll.
This was in 0.5.7.
from jekyll.
Related Issues (20)
- > Β‘Hola! π HOT 1
- feat: OpenBSD support HOT 6
- Found CRITICAL Vulnerability in your website! HOT 1
- [Bug]: LiveReload websocket crashes over HTTPS/WSS HOT 1
- [Bug]: jekyll serve does not detach when spawned without shell HOT 1
- [Docs]: Urgent: Specify json gem version for Jekyll 4.3.2
- [Bug]: livereload-ignore option doesn't work HOT 1
- [Bug]: Liquid Exception: divided by 0
- [Docs]: 7. Assets - css-lcurlyexcted
- feat: Display the deployed package in the repository
- [Docs]: GitHub Pages relative links note
- feat: TOML front matter support HOT 3
- feat:
- [Bug]: `page` variables to not rendered correctly HOT 2
- feat: Add wildcards/regular expressions support to all options in _config.yml HOT 4
- feat: `jekyll.gemspec` and `.rubocop.yml` disagree about the Ruby version
- feat: Support other template engines via plugins
- [Docs]: The Jekyll Docs site is broken and always displays "Deployment" as the page heading. HOT 3
- [Docs]: Search on the Jekyll Docs site is broken HOT 2
- [Bug]: Starting with Ruby 3.4.0, csv will no longer be part of stdlib 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 jekyll.