mirror of https://gitlab.com/curben/blog
feat: add canonical tag
- https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
This commit is contained in:
parent
d4875be40d
commit
a4adf75d05
|
@ -22,6 +22,7 @@
|
||||||
%>
|
%>
|
||||||
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
|
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<link rel="canonical" href="<%- full_url_for(path) %>">
|
||||||
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
||||||
<%/* Modified from original source for compatibility with my blog */%>
|
<%/* Modified from original source for compatibility with my blog */%>
|
||||||
<%- openGraph() %>
|
<%- openGraph() %>
|
||||||
|
|
Loading…
Reference in New Issue