feat: add a link to blecon.de
This commit is contained in:
7
src/link-utils.ts
Normal file
7
src/link-utils.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function getRel(
|
||||
external: boolean | "me" | null | undefined,
|
||||
): string | undefined {
|
||||
return external
|
||||
? "external nofollow noreferrer".concat(external === "me" ? " me" : "")
|
||||
: undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user