diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-11 22:37:30 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-11 22:37:30 -0500 |
| commit | ae20d39d4d64698977d664a83b8b9454917aacad (patch) | |
| tree | baee8114031a9bcb6651b549cbcae9c8fcb1b726 /src/layouts | |
| parent | f38935fe06d823069a124185356c1d59f741ee8e (diff) | |
| download | personal-website-ae20d39d4d64698977d664a83b8b9454917aacad.tar.gz personal-website-ae20d39d4d64698977d664a83b8b9454917aacad.tar.bz2 personal-website-ae20d39d4d64698977d664a83b8b9454917aacad.zip | |
Blog changes; Homepage changes; Set locale to en-ca
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Default.astro | 6 | ||||
| -rw-r--r-- | src/layouts/Page.astro | 34 |
2 files changed, 4 insertions, 36 deletions
diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index db559c0..c7ef6bd 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -11,12 +11,12 @@ const date = new Date(); --- <!doctype html> -<html lang="en"> +<html lang="en-ca"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width" /> - <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/rss.xml" /> + <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/blog/rss.xml" /> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"> @@ -29,7 +29,7 @@ const date = new Date(); <!-- Open Graph Metadata --> <meta property="og:title" content={title} /> <meta property="og:description" content={description} /> - <meta property="og:image" content="/profile.png" /> + <meta property="og:image" content="https://alee14.me/profile.png" /> <meta property="og:type" content="website" /> <meta name="theme-color" content="#1B291F"/> diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index 3731d5e..ea191f8 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -1,6 +1,7 @@ --- import Layout from './Default.astro'; const { title, description } = Astro.props; +import '../styles/Page.css'; --- <Layout title=`${title} - Andrew Lee` description={description}> @@ -12,36 +13,3 @@ const { title, description } = Astro.props; <slot /> </div> </Layout> - -<style> - header { - display: flex; - flex-direction: column; - gap: 0.5em; - margin: 0; - text-align: center; - padding: 0 0 1em; - } - - .header-text { - font-size: 2em; - margin: 0; - } - - h2.header-text { - font-size: 1.5em; - font-weight: 300; - } - .container { - margin: 1em 10em 1em 10em; - } - - @media (max-width: 992px) { - .container { - margin: 10px 20px 10px 20px; - } - } - - - -</style> |
