Skip to content

Commit

Permalink
Merge pull request #147 from dailybruin/Breaking-Feeds
Browse files Browse the repository at this point in the history
modified breaking feeds overview card to work with 50+ characters
  • Loading branch information
EdNawrocki authored Nov 4, 2024
2 parents 0f49909 + bf21c92 commit 8e76d6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/category/breaking/[slug].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Tag extends Component {
This is temporary for the event summary, we will have to make a new tag / category for event Summary then pluck that
*/
const eventSummary = eventSummaries[0];
eventSummary.excerpt.rendered = eventSummary.content.rendered; // Currently making the post content the excerpt in order to keep old card skeleton
return { tag, posts, eventSummary };
}
return { tag };
Expand Down

0 comments on commit 8e76d6d

Please sign in to comment.