Skip to content

Commit

Permalink
chore: update page title
Browse files Browse the repository at this point in the history
  • Loading branch information
cvgellhorn committed Sep 17, 2024
1 parent abd1d95 commit d1ae3d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/consts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const SITE = {
TITLE: "cvgellhorn.com",
TITLE: "cvgellhorn",
DESCRIPTION: "Christoph von Gellhorn - Portfolio",
NUM_POSTS_ON_HOMEPAGE: 3,
NUM_PROJECTS_ON_HOMEPAGE: 3,
Expand Down
5 changes: 3 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
import Footer from "../components/Footer.astro";
import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import { SITE } from "../consts";
const { title, description } = Astro.props;
---

<!doctype html>
<html lang="en">
<head>
<Head title={title} description={description} />
<Head title={`${title} · ${SITE.TITLE}`} description={description} />
</head>
<body>
<Header />
Expand Down

0 comments on commit d1ae3d5

Please sign in to comment.