diff options
Diffstat (limited to 'http')
| -rw-r--r-- | http/share/components/head.upphtml | 5 | ||||
| -rw-r--r-- | http/share/components/meta.upphtml | 4 | ||||
| -rw-r--r-- | http/src/index.upphtml | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/http/share/components/head.upphtml b/http/share/components/head.upphtml index e0e9391..87728f1 100644 --- a/http/share/components/head.upphtml +++ b/http/share/components/head.upphtml @@ -18,11 +18,6 @@ <!-- Canonical URL --> <link rel="canonical" href={canonicalURL} /> -<!-- Primary Meta Tags --> -<title>{title}</title> -<meta name="title" content={title} /> -<meta name="description" content={description} /> - <!-- Open Graph / Facebook --> <meta property="og:type" content="website" /> <meta property="og:url" content={Astro.url} /> diff --git a/http/share/components/meta.upphtml b/http/share/components/meta.upphtml new file mode 100644 index 0000000..445da4d --- /dev/null +++ b/http/share/components/meta.upphtml @@ -0,0 +1,4 @@ +<!-- Primary Meta Tags --> +<title>${TITLE}</title> +<meta name="title" content="${TITLE}" /> +<meta name="description" content="${DESCRIPTION}" /> diff --git a/http/src/index.upphtml b/http/src/index.upphtml index 7979d86..fec3774 100644 --- a/http/src/index.upphtml +++ b/http/src/index.upphtml @@ -1,3 +1,9 @@ +#! +export TITLE="Joe Carstairs" +export DESCRIPTION="Joe Carstairs' personal website" +pp "${SHARE}"/components/meta.upphtml +#! + <section class="h-card"> <div> <img class="u-photo" src="/images/headshot.webp" height="96" width="96" /> |
