open-blog-initiative / open-blog.dev

Open publication where you can share your blog post freely
https://open-blog.dev
MIT License
20 stars 6 forks source link

feat(canonical): handle canonical urls to links externals source #17

Closed Slashgear closed 5 years ago

Slashgear commented 5 years ago

A blogger can post an article in many blog:

For SEO purpose, author have to define where is the "canonical" (the real source) of the article. If the article is findable in more than one web page url, it should define the one which is the reference.

With this PR, an author can define the canonical url in frontmatter.

---
canonicalUrl: https://my-other-url/my-blog-post
---