Add a few extra properties in layout.html that should be applied to all pages
This commit is contained in:
parent
f3bb90fffd
commit
fb9e9a24c9
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
||||||
{% 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 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 %}
|
{% analytical_head_top %}
|
||||||
<base href="{{ origin }}" />
|
<base href="{{ origin }}" />
|
||||||
<title class="p-name">{% if title %}{{ title }} ~ {% endif %}{{ site_name }}</title>
|
<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" />
|
||||||
<link rel="canonical" href="{{ uri }}" />
|
<link rel="canonical" href="{{ uri }}" />
|
||||||
{% if atom %}<link rel="alternate" type="application/atom+xml" href="{% url atom %}" />{% endif %}
|
{% if atom %}<link rel="alternate" type="application/atom+xml" href="{% url atom %}" />{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue