Skip to content

Commit

Permalink
canonical link
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderGi committed Sep 19, 2023
1 parent 4868aa3 commit 11dc1cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def st_page(
uid=uid,
example_id=example_id,
)
+ [dict(tagName="link", rel="canonical", href=f"/{latest_slug}/{tab}")]
# + [
# dict(tagName="link", rel="icon", href="/static/favicon.ico"),
# dict(tagName="link", rel="stylesheet", href="/static/css/app.css"),
Expand Down

0 comments on commit 11dc1cc

Please sign in to comment.