mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 10:56:28 +00:00
Fix blog path frontpage
This commit is contained in:
parent
2be0c58850
commit
ba5eac58dc
@ -223,7 +223,7 @@ const LatestNews = ({ language }) => (
|
||||
<ul>
|
||||
{MetadataBlog.slice(0, 5).map((item, index) => (
|
||||
<li key={index}>
|
||||
<a href={item.path}>{item.title}</a>{" "}
|
||||
<a href={`/blog/${item.path}`}>{item.title}</a>{" "}
|
||||
<small>
|
||||
{new Date(item.date).toLocaleDateString("en-US", {
|
||||
weekday: undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user