Fix blog path frontpage

This commit is contained in:
Paulus Schoutsen 2019-06-24 17:39:47 -07:00
parent 2be0c58850
commit ba5eac58dc

View File

@ -223,7 +223,7 @@ const LatestNews = ({ language }) => (
<ul> <ul>
{MetadataBlog.slice(0, 5).map((item, index) => ( {MetadataBlog.slice(0, 5).map((item, index) => (
<li key={index}> <li key={index}>
<a href={item.path}>{item.title}</a>{" "} <a href={`/blog/${item.path}`}>{item.title}</a>{" "}
<small> <small>
{new Date(item.date).toLocaleDateString("en-US", { {new Date(item.date).toLocaleDateString("en-US", {
weekday: undefined, weekday: undefined,