From 0a35069a8b34a863ecafadd22a016238aa8d746c Mon Sep 17 00:00:00 2001 From: Russ Hammett Date: Tue, 19 Mar 2019 11:35:02 -0400 Subject: [PATCH] Simple canonical link provided via `canonical_url` within front matter (#436) - #435 --- layout/common/head.ejs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/common/head.ejs b/layout/common/head.ejs index 8d3258c..307e2c7 100644 --- a/layout/common/head.ejs +++ b/layout/common/head.ejs @@ -17,6 +17,10 @@ <%- open_graph(og_options) %> <% } %> +<% if (has_config('canonical_url')) { %> + +<% } %> + <% if (has_config('rss')) { %> <% } %>