Sort media by date

master
parent b24e453ced
commit 879ba65373
  1. 2
      sigal.conf.py
  2. 2
      sigal.dev.conf.py

@ -125,7 +125,7 @@ orig_dir = 'original'
# Attribute of Media objects which is used to sort medias. 'date' can be used
# to sort with EXIF dates, and 'meta.key' to sort on a metadata key (which then
# must exist for all images).
# medias_sort_attr = 'filename'
medias_sort_attr = 'date'
# Reverse sort for medias
# medias_sort_reverse = False

@ -125,7 +125,7 @@ orig_dir = 'original'
# Attribute of Media objects which is used to sort medias. 'date' can be used
# to sort with EXIF dates, and 'meta.key' to sort on a metadata key (which then
# must exist for all images).
# medias_sort_attr = 'filename'
medias_sort_attr = 'date'
# Reverse sort for medias
# medias_sort_reverse = False

Loading…
Cancel
Save