Closed rejkpp closed 2 years ago
solved this by removing the time from date. to add time for first page, i created a time paramater on the front matter of the md file. this time paramater is a string not actual time/date value.
thus, it calculates from day to day again using midnight as starting point.
the problem is how the difference is calculated.
possible solution is to have the if based on latest post. is there a value for the page?🤔