Skip to content

Commit 39d9ac7

Browse files
committed
update canonical tags
1 parent cb33029 commit 39d9ac7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

redirects/web-server.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="refresh" content="0; url=https://www.fullstackpython.com/web-servers.html">
5+
</head>
6+
<body>
7+
</body>
8+
</html>

theme/templates/article.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<meta property="og:title" content="{{ article.title }}" />
1212
<meta property="og:description" content="{{ article.meta }} Great post on fullstackpython.com!" />
1313
<meta property="og:image" content="{{ SITEURL }}{{ article.headerimage }}" />
14+
<link rel="canonical" href="https://www.fullstackpython.com/blog/{{ article.slug }}.html" />
1415
{% endif %}{% endblock %}
1516

1617
{% block title %}{% if article %}{{ article.title }} - {% endif %}{% endblock %}

theme/templates/page.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
{% block meta_header %}{% if page.meta %}
44
<meta name="description" content="{{ page.meta }}">
5+
<link rel="canonical" href="https://www.fullstackpython.com/{{ page.slug }}.html" />
56
{% endif %}{% endblock %}
67

78
{% block title %}{{ page.title }} - {% endblock %}

0 commit comments

Comments
 (0)