Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ indent_style = space
indent_size = 2
quote_type = single

[*.html]
max_line_length = 120

[*.{html,sass,js,jsx,scss,css,php,svg}]
charset = utf-8
indent_style = tab
Expand Down
1 change: 1 addition & 0 deletions common/static/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added common/static/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 11 additions & 8 deletions tracker/templates/super.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{% load i18n %}
{% load static wagtailmetadata_tags %}
{% load wagtail_site from wagtailcore_tags %}
{% load render_bundle from webpack_loader %}
{% get_current_language as LANGUAGE_CODE %}

<!DOCTYPE html>
<html class="no-js" lang="en">
<!doctype html>
<html class="no-js" lang="{{ LANGUAGE_CODE }}">
<head>
{% if request.in_preview_panel %}
<base target="_blank">
{% endif %}
{% block head %}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="{% static 'favicon/favicon.svg' %}" type="image/svg+xml" />
<link rel="apple-touch-icon" href="{% static 'icons/apple-touch-icon.png' %}" />
<title>
{% block title %}
{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}
Expand All @@ -23,8 +25,6 @@
{% endblock %}
</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />

{% block css %}
{% render_bundle 'common' 'css' %}
Expand All @@ -49,6 +49,9 @@
{% endif %}
{% endwith %}
{% endblock %}
{% if request.in_preview_panel %}
<base target="_blank" />
{% endif %}
{% endblock %}
</head>

Expand Down