Commit 12a31c68 authored by Michal Čihař's avatar Michal Čihař

Use different set of scripts for engage page

We don't really need to load all the machinery, all we need is couple of
CSS styles.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent a31863d7
......@@ -14,7 +14,38 @@
<meta name="description" content="{{ description }}" />
{% endif %}
{% include 'meta-header.html' %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap.min.css" />
{% if LANGUAGE_BIDI %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-rtl.min.css" />
{% endif %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}font-linux/font-linux.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/datepicker3.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}chartist.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}style-bootstrap.css" />
<script src="{% get_media_prefix %}js/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.cookie.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.autosize.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.sortElements.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/mousetrap.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/mousetrap-global-bind.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/chartist.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}loader-bootstrap.js" type="text/javascript"></script>
<script src="{% url 'js-catalog' %}" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/bootstrap-datepicker.js" type="text/javascript"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="image_src" type="image/png" href="{% get_media_prefix %}weblate-128.png"/>
<link rel="apple-touch-icon" href="{% get_media_prefix %}weblate-128.png"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:site_name" content="{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}" />
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{% if object %}{{ object }}{% else %}{% if page_profile %}{{ page_profile.get_user_name }}{% else %}{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}{% endif %}{% endif %}{% endif %}" />
<meta property="og:description" content="{% trans "This site runs Weblate for translating various software projects." %}" />
{% block extra_meta %}
{% endblock %}
......
......@@ -9,8 +9,23 @@
<title>{% blocktrans %}Get involved in {{ project }}!{% endblocktrans %}</title>
<meta name="description" content="{% blocktrans %}Get involved in {{ project }}, which is currently being translated into {{ languages }} languages using Weblate.{% endblocktrans %}" />
<meta property="og:description" content="{% blocktrans %}Get involved in {{ project }}, which is currently being translated into {{ languages }} languages using Weblate.{% endblocktrans %}" />
<meta property="og:site_name" content="{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="image_src" type="image/png" href="{% get_media_prefix %}weblate-128.png"/>
<link rel="apple-touch-icon" href="{% get_media_prefix %}weblate-128.png"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% include 'meta-header.html' %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap.min.css" />
{% if LANGUAGE_BIDI %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-rtl.min.css" />
{% endif %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}style-bootstrap.css" />
</head>
......
{% load static %}
{% load i18n %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap.min.css" />
{% if LANGUAGE_BIDI %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-rtl.min.css" />
{% endif %}
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}font-linux/font-linux.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}bootstrap/css/datepicker3.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}chartist.min.css" />
<link rel="stylesheet" type="text/css" href="{% get_media_prefix %}style-bootstrap.css" />
<script src="{% get_media_prefix %}js/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.cookie.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.autosize.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/jquery.sortElements.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/mousetrap.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/mousetrap-global-bind.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/chartist.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="{% get_media_prefix %}loader-bootstrap.js" type="text/javascript"></script>
<script src="{% url 'js-catalog' %}" type="text/javascript"></script>
<script src="{% get_media_prefix %}js/bootstrap-datepicker.js" type="text/javascript"></script>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="image_src" type="image/png" href="{% get_media_prefix %}weblate-128.png"/>
<link rel="apple-touch-icon" href="{% get_media_prefix %}weblate-128.png"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:site_name" content="{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}" />
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{% if object %}{{ object }}{% else %}{% if page_profile %}{{ page_profile.get_user_name }}{% else %}{% if site_title %}{{ site_title }}{% else %}Weblate{% endif %}{% endif %}{% endif %}{% endif %}" />
<meta property="og:description" content="{% trans "This site runs Weblate for translating various software projects." %}" />
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment