Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 463 Bytes

NOTES.md

File metadata and controls

18 lines (15 loc) · 463 Bytes

In pico.php, the following changes were made:

  1. Properly order posts by date while using an easier to read format of MMMM DD, YYYY.
  if ($order_by == 'date' && isset($page_meta['date'])) {
      $sorted_pages[$page_meta['date'] . $date_id] = $data;
      $date_id++;
  } else {

to

  if ($order_by == 'date' && isset($page_meta['date'])) {
      $sorted_pages[$page_meta['date_formatted'] . $date_id] = $data;
      $date_id++;
  } else {