Sip set /block canonical url

This commit is contained in:
Mononaut
2023-08-24 20:34:36 +09:00
parent eeefaa6374
commit 8bc1eaebc0
3 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,11 @@
<head>
<meta charset="utf-8">
<title><%= ogTitle %></title>
<link rel="canonical" href="<%= canonical %>" />
<% if (data && data.canonicalPath) { %>
<link rel="canonical" href="<%= canonicalHost + data.canonicalPath %>" />
<% } else { %>
<link rel="canonical" href="<%= canonical %>" />
<% } %>
<meta name="description" content="The Mempool Open Source Project® - Explore the full Bitcoin ecosystem with mempool.space™"/>
<meta property="og:image" content="<%= ogImageUrl %>"/>
<meta property="og:image:type" content="image/png"/>