include ../utils/mixins
block variables
doctype html
html(lang="ru-RU")
head
meta(charset="utf-8")
title #{title}
<!--[if IE]>
meta(http-equiv='X-UA-Compatible', content="IE = edge")
<![endif]-->
meta(name="viewport" content="width=device-width,initial-scale=1")
meta(name="keywords" content="")
link(rel="stylesheet" type='text/css' href="css/styles.min.css")
include ../modules/header/favicon
include ../modules/header/og
<!--[if lt IE 9]>
script(src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js")
<![endif]-->
body
.wrapper
include ../modules/header/header
.content
block content
include ../modules/footer/footer
script(src="js/jquery-3.3.1.min.js")
script(src="js/libs.min.js")
script(src="js/main.js")
block script
extends template/main
block variables
- var title = 'Главная страница'
block content
RewriteEngine On
RewriteRule ^market/ - [L]
RewriteCond %{HTTP_HOST} ^market\.site\.ru$
RewriteCond %{DOCUMENT_ROOT}/market%{REQUEST_URI} -d
RewriteRule [^/]$ %{REQUEST_URI}/ [R,L]
RewriteCond %{HTTP_HOST} ^market\.site\.ru$
RewriteRule (.*) market/$1 [L,QSA]
RewriteRule ^market/ - [L]
RewriteCond %{HTTP_HOST} ^www\.market\.site\.ru$
RewriteCond %{DOCUMENT_ROOT}/market%{REQUEST_URI} -d
RewriteRule [^/]$ %{REQUEST_URI}/ [R,L]
RewriteCond %{HTTP_HOST} ^www\.market\.site\.ru$
RewriteRule (.*) market/$1 [L,QSA]