Skip to content

Commit ebcb77a

Browse files
authored
Merge pull request #559 from jermspeaks/feature/webmentions
added the rel=me links
2 parents 52c4a12 + 901fab7 commit ebcb77a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/components/BaseHead.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ const umamiTrackingCode = import.meta.env.PUBLIC_UMAMI_TRACKING_CODE;
9191
<meta name="robots" content="index,follow" />
9292
<meta name="googlebot" content="index,follow" />
9393

94+
<!-- Indie Web -->
95+
<link rel="webmention" href="https://webmention.io/craftbyzen.com/webmention" />
96+
<link rel="pingback" href="https://webmention.io/craftbyzen.com/xmlrpc" />
97+
9498
<!-- Umami (Analytics) -->
9599
<script
96100
async

src/components/Footer.astro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const today = new Date();
3232
Subscribe via RSS Feed
3333
</button>
3434
</a>
35-
<a href="/subscribe" title="Email Newsletter">
35+
<a href="/subscribe" title="Email Newsletter">
3636
<button
3737
type="button"
3838
class="flex px-4 py-2 border-2 rounded-full hover:bg-purple-300 dark:hover:bg-purple-600 dark:text-slate-100"
@@ -53,6 +53,7 @@ const today = new Date();
5353
class="col-span-1 px-4 py-2 border-2 rounded-full flex gap-2 items-center"
5454
link="mailto:jeremy@craftbyzen.com"
5555
title="email"
56+
rel="me"
5657
>
5758
<svg
5859
viewBox="0 0 8 6"
@@ -68,6 +69,7 @@ const today = new Date();
6869
class="col-span-1 px-4 py-2 border-2 rounded-full flex gap-2 items-center"
6970
link="https://github.com/jermspeaks"
7071
title="GitHub"
72+
rel="me"
7173
>
7274
<svg
7375
class="h-6 w-6 fill-slate-800 dark:fill-slate-200 hover:fill-purple-500"
@@ -83,6 +85,7 @@ const today = new Date();
8385
class="col-span-1 px-4 py-2 border-2 rounded-full flex gap-2 items-center"
8486
link="https://www.linkedin.com/in/jeremynwong"
8587
title="LinkedIn"
88+
rel="me"
8689
>
8790
<svg
8891
class="h-6 w-6 fill-slate-800 dark:fill-slate-200 hover:fill-purple-500"
@@ -97,6 +100,7 @@ const today = new Date();
97100
class="col-span-1 px-4 py-2 border-2 rounded-full flex gap-2 items-center"
98101
link="https://twitter.com/jermspeaks"
99102
title="Twitter"
103+
rel="me"
100104
>
101105
<svg
102106
xmlns="http://www.w3.org/2000/svg"
@@ -113,6 +117,7 @@ const today = new Date();
113117
class="col-span-1 px-4 py-2 border-2 rounded-full flex gap-2 items-center"
114118
link="https://mastodon.online/@jermspeaks"
115119
title="Mastodon"
120+
rel="me"
116121
>
117122
<svg
118123
class="h-6 w-6 fill-slate-800 dark:fill-slate-200 hover:fill-purple-500"

0 commit comments

Comments
 (0)