Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
b8120c8b
Commit
b8120c8b
authored
Nov 23, 2017
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил шаблон, блоки
parent
e8a19e31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
7 deletions
+65
-7
blocks-library.pug
src/blocks-library.pug
+22
-7
layout.pug
src/pug/layout.pug
+40
-0
mixins.pug
src/pug/mixins.pug
+3
-0
No files found.
src/blocks-library.pug
View file @
b8120c8b
<!DOCTYPE html>
extends pug/layout.pug
html(lang="en")
head
block meta
meta(charset="UTF-8")
title Home
title Document
meta(name='description', content='')
body
p 1
//- block append head
//- link(rel="stylesheet", href="css/SOME.css")
//- script(src='js/SOME.js')
//- block header
//- -var page = 'blog';
//- p Шапка
block content
p Контент
//- block footer
//- p Подвал
//- block append page-bottom
//- script(src='js/SOME.js')
src/pug/layout.pug
0 → 100644
View file @
b8120c8b
include mixins.pug
doctype html
html(class="no-js page", lang="ru")
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
//- Edge и ряд мобильных браузеров автоматом преобразуют телефоны в ссылки. Отключим это.
meta(name="format-detection", content="telephone=no")
block meta
title Home
block head
link(rel="stylesheet", href="css/style.min.css")
script.
document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
body
.off-canvas#off-canvas
aside.off-canvas__aside(role="complementary", aria-label="Меню") менюОффКанвас
main.off-canvas__page-content.components-demo.blocks-library(role="main")
//- Реальный контент страницы
div.page__inner
div.page__content
block header
div header
block content
div content
div.page__footer-wrapper
block footer
div подвал
div.off-canvas__overlay(data-toggle="off-canvas")
block page-bottom
script(src="js/script.min.js")
src/pug/mixins.pug
0 → 100644
View file @
b8120c8b
//- Подключение примесей
//- include ../blocks/main-nav/main-nav.pug
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment