summaryrefslogtreecommitdiff
path: root/src/components/Footer.astro
diff options
context:
space:
mode:
authorJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-06 22:27:04 -0300
committerJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-06 22:27:04 -0300
commit449f71511e539878af4c65f073cdc373b469c45e (patch)
tree6c264a77426284d97d1c9b9d7a27a6015c3077a8 /src/components/Footer.astro
parent4ae2b810b68538ba4c287b0c80d6c2e002fe9ddd (diff)
feat: more structured data
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/components/Footer.astro')
-rw-r--r--src/components/Footer.astro25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 3238c50..f69ba8a 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -22,10 +22,20 @@ const git = isOnion ? PUBLIC_GIT_TOR_URL ?? PUBLIC_GIT_URL : PUBLIC_GIT_URL;
</p>
)
}
- <address>
+ <address
+ itemprop="maintainer author"
+ itemscope
+ itemtype="https://schema.org/Person"
+ >
+ <link href={site} rel="author" itemprop="url" />
<p>
- Sítio web de <a href={site} target="_blank" rel="author"
- >João Augusto Costa Branco Marado Torres</a>
+ Sítio web de <a href={site} target="_blank" rel="author" itemprop="name"
+ >João Augusto Costa Branco Marado Torres</a> &lt;<a
+ href="mailto:torres.dev@disroot.pt"
+ target="_blank"
+ rel="author"
+ itemprop="email"
+ >torres.dev@disroot.pt</a>&gt;
</p>
{
PUBLIC_SIMPLE_X_ADDRESS && (
@@ -42,10 +52,15 @@ const git = isOnion ? PUBLIC_GIT_TOR_URL ?? PUBLIC_GIT_URL : PUBLIC_GIT_URL;
</p>
<section id="copying" class="mute">
<h2 class="sr-only">Licença de <span lang="en">Software</span></h2>
- <div lang="en">
+ <div lang="en" itemprop="copyrightNotice">
<p>
&lt;<a href="/" hreflang="pt-PT">cravodeabril.pt</a>&gt; Copyright
- &copy; 2025 João Augusto Costa Branco Marado Torres
+ &copy; <time datetime="2025" itemprop="copyrightYear">2025</time> <span
+ itemprop="copyrightHolder"
+ itemscope
+ itemtype="Person"
+ ><span itemprop="name"
+ >João Augusto Costa Branco Marado Torres</span></span>
</p>
<p>
This program is free software: you can redistribute it and/or modify it