Skip to content

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

Open
guites wants to merge 1 commit intocfenollosa:masterfrom
guites:keep-original-timestamp-when-regenerating-blog
Open

Keeps post original timestamp when regenerating all_posts/index page#178
guites wants to merge 1 commit intocfenollosa:masterfrom
guites:keep-original-timestamp-when-regenerating-blog

Conversation

@guites
Copy link
Copy Markdown

@guites guites commented Feb 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant