Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sessions overview page #8

Open
Kingdutch opened this issue Jan 22, 2020 · 0 comments
Open

Create sessions overview page #8

Kingdutch opened this issue Jan 22, 2020 · 0 comments

Comments

@Kingdutch
Copy link
Contributor

Create a page that contains information about a session. Barcelona example: https://barcelona.rustfest.eu/talks/

The page can be made by creating a sessions component in the src/pages directory.

Contains the speaker component from #6
Links to to the detail pages from #7

Session data can be added by copying the content/sessions/example.md file.

All sessions can be selected with the following query. Speakers are automatically linked.

allSessions: allMarkdownRemark(
    filter: { fields: { collection: { eq: "sessions" } } }
  ) {
    nodes {
      fields {
        speakers {
          frontmatter {
            name
          }
        }
      }
      frontmatter {
        title
        date
        speakers
      }
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant