diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-02 18:27:20 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-02 18:27:20 +0100 |
| commit | 902ad835b4c9f1d72f79ff52763e0c089ec6fce5 (patch) | |
| tree | 1057c5ecded630dcdb24d884fa9888d11a5b8863 /http | |
| parent | 3f4df7c503c0c0301c6d7ae099a9d5244fc62f92 (diff) | |
http: fixes meta tags
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" /> |
