feat: add canonical tag

- https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
This commit is contained in:
MDLeom 2020-02-18 23:54:00 +00:00
parent d4875be40d
commit a4adf75d05
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
%>
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
<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 */%>
<%/* Modified from original source for compatibility with my blog */%>
<%- openGraph() %>