Sort photos by date and better portrait layout for landscape images

This commit is contained in:
2021-06-19 22:42:12 -07:00
parent 17e6f300c1
commit ea16527da7
3 changed files with 53 additions and 29 deletions

View File

@@ -56,7 +56,7 @@ export const query = graphql`
query GalleryPageQuery {
allFile(filter: {
sourceInstanceName: { eq: "gallery" }}
sort: {order: DESC, fields: childrenImageSharp___fields___imageMeta___dateTaken}
# sort: {order: DESC, fields: childrenImageSharp___fields___imageMeta___dateTaken}
) {
edges {
node {