Skip to content

Commit

Permalink
config edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Nelson committed Aug 20, 2023
1 parent d6b0eb1 commit 99621b1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/config/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"site": {
"title": "Pages",
"title": "Reed Nelson",
"base_url": "https://reednel.com",
"base_path": "/",
"trailing_slash": false,
Expand All @@ -21,7 +21,7 @@

"metadata": {
"meta_author": "reednel",
"meta_image": "/images/og-image.png",
"meta_image": "/assets/favicon.ico",
"meta_description": "A place with things."
}
}
10 changes: 0 additions & 10 deletions src/config/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,5 @@
"name": "Drinks",
"url": "/drink"
}
],
"footer": [
{
"name": "Link1",
"url": "/link1"
},
{
"name": "Link 2",
"url": "/link2"
}
]
}
4 changes: 3 additions & 1 deletion src/content/homepage/-index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
# Banner
title: Home
meta_title: Home

banner:
title: Reed Nelson
content: This website is under construction.
Expand Down
7 changes: 5 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ interface Homepage {
}
const homepage = await getEntryBySlug("homepage", "-index");
const { banner }: Homepage = homepage.data;
const { title, meta_title, banner }: Homepage = homepage.data;
---

<Base>
<Base
title={title}
meta_title={meta_title}
>
<!-- Banner -->
<section class="section pt-14">
<div class="container">
Expand Down

0 comments on commit 99621b1

Please sign in to comment.