You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
5.8 KiB
107 lines
5.8 KiB
{% load static %}
|
|
{% load setting from settings %}
|
|
{% load compress %}
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
{% block title %}Онлайн-курсы LilCity{% endblock title%}
|
|
</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<meta name="theme-color" content="#fff">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="description" content="{% block description %}Онлайн-курсы LilCity{% endblock description%}">
|
|
<!--Twitter Card data-->
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:site" content="{% block twurl %}{{ request.build_absolute_uri }}{% endblock twurl %}">
|
|
{% comment %} <meta name="twitter:title" content="{% block twtitle %}Онлайн-курсы LilCity{% endblock twtitle %}"> {% endcomment %}
|
|
{% comment %} <meta name="twitter:description" content="{% block twdescription %}Онлайн-курсы LilCity{% endblock twdescription %}"> {% endcomment %}
|
|
{% comment %} <meta name="twitter:creator" content="@author_handle"> {% endcomment %}
|
|
{% comment %} <meta name="twitter:image" content="{% block twimage %}{{ request.build_absolute_uri }}{% static 'img/video-1.jpg' %}{% endblock twimage %}"> {% endcomment %}
|
|
<!--Open Graph data-->
|
|
<meta property="og:title" content="{% block ogtitle %}Онлайн-курсы LilCity{% endblock ogtitle %}">
|
|
{% comment %} <meta property="og:type" content="article"> {% endcomment %}
|
|
<meta property="og:url" content="{% block ogurl %}{{ request.build_absolute_uri }}{% endblock ogurl %}">
|
|
<meta property="og:image" content="{% block ogimage %}{{ request.build_absolute_uri }}{% static 'img/video-1.jpg' %}{% endblock ogimage %}">
|
|
<meta property="og:description" content="{% block ogdescription %}Онлайн-курсы LilCity{% endblock ogdescription %}">
|
|
<meta property="og:site_name" content="Онлайн-курсы LilCity">
|
|
<meta property="og:locale" content="ru_RU">
|
|
{% comment %} <meta property="fb:admins" content="Facebook numeric ID"> {% endcomment %}
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token }}">
|
|
|
|
{% compress css %}
|
|
<link rel="stylesheet" media="all" href={% static "app.css" %}>
|
|
{% endcompress %}
|
|
|
|
<link rel="shortcut icon" type="image/png" href="{% static 'img/favicon.png' %}"/>
|
|
<script>
|
|
var viewportmeta = document.querySelector('meta[name="viewport"]');
|
|
if (viewportmeta) {
|
|
if (screen.width <= 360) {
|
|
var newScale = screen.width / 360;
|
|
viewportmeta.content = 'width=360, minimum-scale=' + newScale + ', user-scalable=0, maximum-scale=1, initial-scale=' + newScale + '';
|
|
}
|
|
else {
|
|
viewportmeta.content = 'width=device-width, maximum-scale=1.6, initial-scale=1.0';
|
|
}
|
|
}
|
|
</script>
|
|
<script>
|
|
LIL_SERVER_TIME = "{% now 'U' %}";
|
|
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - parseInt(LIL_SERVER_TIME);
|
|
USER_ID = "{{ request.user.id }}";
|
|
COURSE_ID = "{{ course.id }}";
|
|
MIXPANEL_CUSTOM_LIB_URL = "/static/mixpanel-2-latest.js";
|
|
</script>
|
|
<!-- Facebook Pixel Code -->
|
|
<script>
|
|
!function(f,b,e,v,n,t,s)
|
|
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
s.parentNode.insertBefore(t,s)}(window,document,'script',
|
|
'https://connect.facebook.net/en_US/fbevents.js');
|
|
fbq('init', '194961257900508');
|
|
fbq('track', 'PageView');
|
|
</script>
|
|
<noscript>
|
|
<img height="1" width="1"
|
|
src="https://www.facebook.com/tr?id=194961257900508&ev=PageView
|
|
&noscript=1"/>
|
|
</noscript>
|
|
<!-- End Facebook Pixel Code -->
|
|
<!-- Global site tag (gtag.js) - Google AdWords: 808701460 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-808701460"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-808701460'); </script>
|
|
{% include "templates/blocks/mixpanel.html" %}
|
|
</head>
|
|
<body>
|
|
{% include "templates/blocks/social.html" %}
|
|
{% include "templates/blocks/baner.html" %}
|
|
<div class="outer js-outer">
|
|
{% include "templates/blocks/header.html" %}
|
|
<div id="lilcity-vue-app" class="container">
|
|
{% block content %}{% endblock content %}
|
|
</div>
|
|
{% include "templates/blocks/footer.html" %}
|
|
{% include "templates/blocks/popup_auth.html" %}
|
|
{% include "templates/blocks/popup_buy.html" %}
|
|
{% include "templates/blocks/popup_course_lock.html" %}
|
|
{% include "templates/blocks/popup_subscribe.html" %}
|
|
</div>
|
|
<script type="text/javascript" src={% static "app.js" %}></script>
|
|
<script>
|
|
var schoolDiscount = parseFloat({{ config.SERVICE_DISCOUNT }});
|
|
var schoolAmountForDiscount = parseFloat({{ config.SERVICE_DISCOUNT_MIN_AMOUNT }});
|
|
</script>
|
|
{% comment %} ROISTAT {% endcomment %}
|
|
<script>
|
|
(function(w, d, s, h, id) { w.roistatProjectId = id; w.roistatHost = h; var p = d.location.protocol == "https:" ? "https://" : "http://"; var u = /^.*roistat_visit=[^;]+(.*)?$/.test(d.cookie) ? "/dist/module.js" : "/api/site/1.0/"+id+"/init"; var js = d.createElement(s); js.charset="UTF-8"; js.async = 1; js.src = p+h+u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2);})(window, document, 'script', 'cloud.roistat.com', '{% setting "ROISTAT_COUNTER_ID" %}');
|
|
</script>
|
|
{% block foot %}{% endblock foot %}
|
|
</body>
|
|
</html>
|
|
|