* Fix issue #705

* Add canonical links to blogs too
This commit is contained in:
Violet White
2019-12-16 16:55:02 -05:00
committed by Ana Gelez
parent 9ede06e7a3
commit e53574970c
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@
}
<meta property="og:url" content="@uri!(posts::details: blog = &blog.fqn, slug = &article.slug, responding_to = _)"/>
<meta property="og:description" content="@article.subtitle"/>
<link rel="canonical" href="@article.ap_url"/>
@if !ctx.2.clone().map(|u| u.hide_custom_css).unwrap_or(false) {
@if let Some(ref theme) = blog.theme {