diff --git a/packages/website/src/pages/news.js b/packages/website/src/pages/news.js
index 639b04c7..7690e962 100644
--- a/packages/website/src/pages/news.js
+++ b/packages/website/src/pages/news.js
@@ -4,12 +4,14 @@ import { GatsbyImage, getImage } from "gatsby-plugin-image";
import { Section, Label } from "../components/Layout";
import { NewsSummary } from "../components/News";
import Link from "../components/Link";
-import SEO from "../components/seo";
+import Seo from "../components/seo";
const NewsCard = ({ ...props }) => {
+ const linkProps = { to: !props.frontmatter.external && props.fields.slug, href: props.frontmatter.external };
+
return (
-
+
@@ -21,12 +23,12 @@ const NewsCard = ({ ...props }) => {
)}
-
+
{props.frontmatter.title}
{props.frontmatter.description && (
-
+
{props.frontmatter.description}
)}
@@ -45,7 +47,7 @@ const NewsCard = ({ ...props }) => {
const NewsPage = ({ data }) => {
return (
<>
-
+
@@ -73,6 +75,7 @@ export const query = graphql`
description
author
categories
+ external
thumbnail {
childImageSharp {
gatsbyImageData(width: 320, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF])
diff --git a/packages/website/src/templates/news-post.js b/packages/website/src/templates/news-post.js
index 90d783f0..e51744fc 100644
--- a/packages/website/src/templates/news-post.js
+++ b/packages/website/src/templates/news-post.js
@@ -2,7 +2,7 @@ import * as React from "react";
import { graphql } from "gatsby";
import { Section, SectionTitle } from "../components/Layout";
import { NewsSummary } from "../components/News";
-import SEO from "../components/seo";
+import Seo from "../components/seo";
import { TwitterShareButton, LinkedinShareButton, FacebookShareButton } from "react-share";
import { TwitterSmall, LinkedinSmall, FacebookSmall } from "../components/Icons";
@@ -15,7 +15,7 @@ const BlogPostTemplate = ({ data, location }) => {
return (
<>
-
+