Reorganise the meta tags at the top of the layout in accordance with best practices - the charset needs to be as early as possible
This commit is contained in:
parent
d3c79a4cc3
commit
236a32ebc1
1 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,14 @@
|
||||||
{% load analytical compress favtags lemoncurry_tags meta static theme_colour %}<!doctype html>
|
{% load analytical compress favtags lemoncurry_tags meta static theme_colour %}<!doctype html>
|
||||||
<html dir="ltr" lang="en" class="{% block html_class %}{% endblock %}">
|
<html dir="ltr" lang="en" class="{% block html_class %}{% endblock %}">
|
||||||
<head{% meta_namespaces %}>{% site_name as site_name %}{% request_uri request as uri %}{% request_origin request as origin %}
|
<head{% meta_namespaces %}>{% site_name as site_name %}{% request_uri request as uri %}{% request_origin request as origin %}
|
||||||
{% analytical_head_top %}
|
|
||||||
<base href="{{ origin }}" />
|
|
||||||
<title class="p-name">{% if title %}{{ title }} ~ {% endif %}{{ site_name }}</title>
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
|
|
||||||
|
<base href="{{ origin }}" />
|
||||||
<link rel="canonical" href="{{ uri }}" />
|
<link rel="canonical" href="{{ uri }}" />
|
||||||
|
<title class="p-name">{% if title %}{{ title }} ~ {% endif %}{{ site_name }}</title>
|
||||||
|
|
||||||
|
{% analytical_head_top %}
|
||||||
{% if atom %}<link rel="alternate" type="application/atom+xml" href="{{ atom }}" />{% endif %}
|
{% if atom %}<link rel="alternate" type="application/atom+xml" href="{{ atom }}" />{% endif %}
|
||||||
{% if rss %}<link rel="alternate" type="application/rss+xml" href="{{ rss }}" /> {% endif %}
|
{% if rss %}<link rel="alternate" type="application/rss+xml" href="{{ rss }}" /> {% endif %}
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue