Commit da615c2
committed
add canonical link tags for all pages
Add canonical link tags in the base template.
Use .Permalink as the source and strip a trailing .html suffix so
canonical URLs are extensionless (e.g. /architecture).
Prefer extensionless canonical URLs because they are shorter and cleaner,
while the .html variants remain valid and accessible on GitHub Pages.
Canonical tags tell search engines which URL is authoritative, reducing
duplicate-URL ambiguity for indexing and ranking.1 parent 643f10f commit da615c2
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments