diff options
| author | Christine Dodrill <me@christine.website> | 2021-01-19 20:42:09 -0500 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2021-01-19 20:42:09 -0500 |
| commit | 90332b323d8a9cfd1ad35224c22c055f6987a316 (patch) | |
| tree | 5241e908893efd7c66c42135dd832e67c049f330 | |
| parent | 444eee96b03d3cb97114c68da995db7d038c63cf (diff) | |
| download | xesite-90332b323d8a9cfd1ad35224c22c055f6987a316.tar.xz xesite-90332b323d8a9cfd1ad35224c22c055f6987a316.zip | |
dont fuck seo
Signed-off-by: Christine Dodrill <me@christine.website>
| -rw-r--r-- | templates/blogpost.rs.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html index 9438546..029192e 100644 --- a/templates/blogpost.rs.html +++ b/templates/blogpost.rs.html @@ -20,7 +20,9 @@ <meta name="description" content="@post.front_matter.title - Christine Dodrill's Blog" /> <meta name="author" content="Christine Dodrill"> -<link rel="canonical" href="https://christine.website/@post.link"> +@if post.front_matter.redirect_to.is_none() { + <link rel="canonical" href="https://christine.website/@post.link"> +} <script type="application/ld+json"> @{ |
