Skip to content

Commit 6a1033a

Browse files
committed
Se agregan cambios para que se muestren en orden
1 parent 23527c0 commit 6a1033a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/hooks/useBlog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useStaticQuery, graphql } from "gatsby"
33
const useBlog = () => {
44
const query = useStaticQuery(graphql`
55
{
6-
allStrapiBlogCategory: allStrapiEnglishBlogCategory {
6+
allStrapiBlogCategory: allStrapiEnglishBlogCategory(sort: { fields: orden, order: ASC }) {
77
nodes {
88
name
99
slug

src/templates/BlogItemDetail.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export const query = graphql`
144144
slug
145145
published_at
146146
updated_at
147+
destacado
147148
seo {
148149
pageTitle
149150
pageDescription

0 commit comments

Comments
 (0)