Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Create a way to add new blog entries to the sidebar automatically #5

Open
malikpiara opened this issue Jun 24, 2019 · 1 comment
Open
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@malikpiara
Copy link
Member

@hacdias: I need your help here. Let me know when you have time for a call!

@malikpiara malikpiara added the enhancement New feature or request label Jun 24, 2019
@malikpiara malikpiara self-assigned this Jun 24, 2019
@malikpiara malikpiara added the help wanted Extra attention is needed label Jul 2, 2019
@bezbac
Copy link

bezbac commented Jul 10, 2019

Hey Malik :)

You should be able to just query all your pages with graphql in your sidebar component, sort them by date and base the list on that.

You're using the remark-transformer so you can find an example for that here: https://www.gatsbyjs.org/packages/gatsby-transformer-remark/#how-to-query

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants