Skip to content

Commit

Permalink
fix favicon, add qotd
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Nelson committed Oct 18, 2023
1 parent d954795 commit 3bddef1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"base_url": "https://reednel.com",
"base_path": "/",
"trailing_slash": false,
"favicon": "/assets/favicon.ico"
"favicon": "/favicon.ico"
},

"settings": {
Expand All @@ -23,7 +23,7 @@

"metadata": {
"meta_author": "reednel",
"meta_image": "/assets/favicon.ico",
"meta_image": "/favicon.ico",
"meta_description": "A place with things."
}
}
2 changes: 1 addition & 1 deletion src/content/homepage/-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ meta_title: Home

banner:
title: Reed Nelson
content: This website is under construction.
qotd: "They say you die twice: once when you die, and once when you've scratched and sniffed your last scratch and sniff sticker."
---
16 changes: 8 additions & 8 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ import type { Button, Feature } from "@/types";
import { getEntryBySlug } from "astro:content";
interface Homepage {
title: string;
meta_title: string;
banner: {
title: string;
content: string;
image: string;
button: Button;
qotd: string;
};
features: Feature[];
}
const homepage = await getEntryBySlug("homepage", "-index");
Expand All @@ -24,16 +23,17 @@ const { title, meta_title, banner }: Homepage = homepage.data;
meta_title={meta_title}
>
<Background />
<!-- Banner -->
<section class="section pt-14 background-area glob">
<div class="container">
<div class="row justify-center">
<div class="mb-16 text-center lg:col-7">
<div class="my-16 text-center col-10 md:col-6">
<h1 set:html={markdownify(banner.title)} class="mb-4" />
<p set:html={markdownify(banner.content)} class="mb-8" />
<div class="mt-20">
<h3>QotD:</h3>
<p set:html={markdownify(banner.qotd)} class="mt-4 mb-8" />
</div>
</div>
</div>
</div>
</section>
<!-- /Banner -->
</Base>

0 comments on commit 3bddef1

Please sign in to comment.