commit | b3d155bfd4cf4f3127bc5f7dafb7c70a39dc2da1 | [log] [tgz] |
---|---|---|
author | Bobby R. Bruce <bbruce@ucdavis.edu> | Mon Nov 02 11:53:59 2020 -0800 |
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | Wed Nov 11 21:03:34 2020 +0000 |
tree | 2ec5e196b21d7a3875712e2bb000520e5b4452a2 | |
parent | cbbbc3d31fa6f138e08d2101eace5d78c702677b [diff] |
website: Added "canonical" tag With this tag, a "canonical" or "prefered" version of the page may be specified. This prevents duplicate content issues in search engine optimization. Usage: ``` --- layout: post title: "An example blog post" author: Anon date: 2020-11-02 canonical: https://example.org/canon categories: project --- ``` The above will insert `<link rel="canonical" href="https://example.org/canon"/>` in the page's <head>. This assumes the content on this page is a duplicate of https://example.org/canon, and https://example.org/canon is the preferred version. Change-Id: I2932200b114223845d36ee6a05809fa8f8a7aace Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5-website/+/36915 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: Jason Lowe-Power <power.jg@gmail.com>