forked from Hexlet/hexlet-friends
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Hexlet#365 from jespy666/add-canonical-url
[Hexlet#364] Add canonical url
- Loading branch information
Showing
4 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% load i18n static %} | ||
{% load i18n static contrib_extras %} | ||
{% get_current_language as LANGUAGE_CODE %} | ||
<!doctype html> | ||
<html lang="{{ LANGUAGE_CODE }}" class="h-100"> | ||
|
@@ -22,6 +22,8 @@ | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="{% static 'css/base.css' %}"> | ||
<link rel="icon" type="image/png" href="{% static 'images/favicon.png' %}"> | ||
{% get_canonical_url as canonical_url %} | ||
<link rel="canonical" href="{{ canonical_url }}"> | ||
<script src="{% url 'javascript_catalog' %}"></script> | ||
{% block head_scripts %}{% endblock %} | ||
{% if GTM_ID %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters