Skip to content

Commit

Permalink
Revert to using Drupal for press appearances
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonso committed Sep 23, 2023
1 parent b094873 commit 075385b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/press.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PressPage = ({ data }) => (
body={
<div className="card__content__listing">
<ul>
{data.allPrestonSoAppearance.edges.map(( {node }) => (
{data.allAppearance.edges.map(({ node }) => (
<li key={node.id}>
<h4><a href={node.link} title={node.title}>{node.title}</a></h4>
{node.author && <p>{node.author}</p>}
Expand All @@ -39,7 +39,7 @@ const PressPage = ({ data }) => (

export const query = graphql`
query {
allPrestonSoAppearance(
allAppearance(
sort: { fields: date, order: DESC }
) {
edges {
Expand All @@ -48,7 +48,7 @@ export const query = graphql`
title
publication
author
date(formatString: "MMMM D, YYYY")
date(formatString: "MMMM DD, YYYY")
link
}
}
Expand Down

0 comments on commit 075385b

Please sign in to comment.