clean up unfurler meta html template
This commit is contained in:
parent
477f3bd70a
commit
82a808529b
@ -264,8 +264,7 @@ class Server {
|
||||
ogTitle = `${this.network ? capitalize(this.network) + ' ' : ''}${matchedRoute.networkMode !== 'mainnet' ? capitalize(matchedRoute.networkMode) + ' ' : ''}${matchedRoute.title}`;
|
||||
}
|
||||
|
||||
return `
|
||||
<!doctype html>
|
||||
return `<!doctype html>
|
||||
<html lang="en-US" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@ -283,9 +282,9 @@ class Server {
|
||||
<meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space"/>
|
||||
<meta property="twitter:image:src" content="${ogImageUrl}"/>
|
||||
<meta property="twitter:domain" content="mempool.space">
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
`;
|
||||
</html>`;
|
||||
}
|
||||
|
||||
async renderSEOPage(rawPath: string): Promise<string> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user