Skip to content

Commit

Permalink
Merge pull request #26 from calimania/feat/product-link
Browse files Browse the repository at this point in the history
fixed index missing attrs
  • Loading branch information
dvidsilva authored Jan 5, 2025
2 parents 133df44 + 85d0169 commit ceec448
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const links = store?.URLS || [];
<Header store={store} products={products} />
<main id="main-content">
<section id="hero">
<h1>{store?.title || "Markketplace"}</h1>
<h1>{store?.data?.title || "Markketplace"}</h1>
<a
target="_blank"
href="/rss.xml"
Expand All @@ -66,7 +66,11 @@ const links = store?.URLS || [];

<p>
<strong>
{store?.Description || "A simple and minimal Markketplace theme."}
{
homePage?.data?.SEO?.metaDescription ||
store?.Description ||
"A simple and minimal Markketplace theme."
}
</strong>
</p>
{
Expand Down

0 comments on commit ceec448

Please sign in to comment.