Skip to content

Commit 0d029cb

Browse files
committed
a要素にrel=meを許容するのを削除
1 parent a5ddaa8 commit 0d029cb

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

.markuplintrc

-10
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@
2121
},
2222
"required-attr": false
2323
}
24-
},
25-
{
26-
"selector": "a[rel]",
27-
"rules": {
28-
"invalid-attr": {
29-
"options": {
30-
"allowAttrs": ["rel", "me"]
31-
}
32-
}
33-
}
3424
}
3525
]
3626
}

src/components/global/GlobalTypes.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export type LinkItem = {
22
url?: string;
33
title?: string;
4-
rel?: string;
54
};
65

76
export type ListItem = LinkItem & {

src/components/page-index/sections/SocialNetworkServicesSection.astro

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const t = useTranslations(Astro);
2525
},
2626
{
2727
title: "Mastodon",
28-
url: "https://mstdn.jp/@yamanoku",
29-
rel: "me"
28+
url: "https://mstdn.jp/@yamanoku"
3029
}
3130
]}
3231
/>

0 commit comments

Comments
 (0)