cfenollosa / bashblog

A single Bash script to create blogs. Download, run, write, done!
1.66k stars 228 forks source link

Keeps post original timestamp when regenerating all_posts/index page #178

Open guites opened 1 year ago

guites commented 1 year ago

I noticed that if you clone your blog repository on a different machine, the first time you regenerate your blog (say when creating a new post) the original post dates on the index page/all_posts page will be lost.

I made a quickfix which orders posts by the timestamp that is written to the html files instead of their modified time (which changes every time you clone the repository).

Cheers