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
ed5a1e5a
Commit
ed5a1e5a
authored
Jan 14, 2019
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Автоматизация: убрал из сборки по умолчанию некоторые файлы
parent
4fd3ac51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
config.js
config.js
+8
-8
index.pug
src/pages/index.pug
+1
-1
layout.pug
src/pug/layout.pug
+6
-6
No files found.
config.js
View file @
ed5a1e5a
/* global module */
/* global module */
let
config
=
let
config
=
{
{
"notGetBlocks"
:
[
"notGetBlocks"
:
[
"blocks-demo.html"
"blocks-demo.html"
],
],
...
@@ -9,25 +8,26 @@ let config =
...
@@ -9,25 +8,26 @@ let config =
"no-js"
"no-js"
],
],
"alwaysAddBlocks"
:
[
"alwaysAddBlocks"
:
[
"sprite-svg"
,
// "sprite-svg",
"object-fit-polyfill"
,
// "sprite-png",
// "object-fit-polyfill",
],
],
"addStyleBefore"
:
[
"addStyleBefore"
:
[
"src/scss/variables.scss"
,
"src/scss/variables.scss"
,
"src/scss/mixins.scss"
"src/scss/mixins.scss"
],
],
"addStyleAfter"
:
[
"addStyleAfter"
:
[
"src/scss/print.scss"
//
"src/scss/print.scss"
],
],
"addJsBefore"
:
[],
"addJsBefore"
:
[],
"addJsAfter"
:
[
"addJsAfter"
:
[
"./script.js"
"./script.js"
],
],
"addAssets"
:
{
"addAssets"
:
{
"src/img/demo-avatar-*"
:
"img/"
,
"src/img/DSC_*"
:
"img/"
,
"src/fonts/demo-empty-open-sans.woff2"
:
"fonts/"
,
"src/fonts/demo-empty-open-sans.woff2"
:
"fonts/"
,
"src/favicon/*.{png,ico,svg,xml,webmanifest}"
:
"img/favicon"
// "src/img/demo-avatar-*": "img/",
// "src/img/DSC_*": "img/",
// "src/favicon/*.{png,ico,svg,xml,webmanifest}": "img/favicon",
},
},
"dir"
:
{
"dir"
:
{
"src"
:
"src/"
,
"src"
:
"src/"
,
...
...
src/pages/index.pug
View file @
ed5a1e5a
...
@@ -10,7 +10,7 @@ block meta
...
@@ -10,7 +10,7 @@ block meta
block header
block header
+page-header()
+page-header()
+logo('/')
+logo('/')
span Логотип
img(src='img/temp-logo.svg', alt='Logo', height='15')
+main-nav('10')
+main-nav('10')
block content
block content
...
...
src/pug/layout.pug
View file @
ed5a1e5a
...
@@ -15,12 +15,12 @@ html(class='no-js page', lang='ru')
...
@@ -15,12 +15,12 @@ html(class='no-js page', lang='ru')
meta(name='format-detection', content='email=no')
meta(name='format-detection', content='email=no')
meta(content='notranslate', name='google')
meta(content='notranslate', name='google')
//- Фавиконки (https://realfavicongenerator.net)
//- Фавиконки (https://realfavicongenerator.net)
link(rel='apple-touch-icon', sizes='180x180', href='/img/favicon/apple-touch-icon.png')
//-
link(rel='apple-touch-icon', sizes='180x180', href='/img/favicon/apple-touch-icon.png')
link(rel='icon', type='image/png', sizes='32x32', href='/img/favicon/favicon-32x32.png')
//-
link(rel='icon', type='image/png', sizes='32x32', href='/img/favicon/favicon-32x32.png')
link(rel='icon', type='image/png', sizes='16x16', href='/img/favicon/favicon-16x16.png')
//-
link(rel='icon', type='image/png', sizes='16x16', href='/img/favicon/favicon-16x16.png')
link(rel='manifest', href='/img/favicon/site.webmanifest')
//-
link(rel='manifest', href='/img/favicon/site.webmanifest')
link(rel='mask-icon', href='/img/favicon/safari-pinned-tab.svg', color='#5bbad5')
//-
link(rel='mask-icon', href='/img/favicon/safari-pinned-tab.svg', color='#5bbad5')
meta(name='msapplication-TileColor', content='#5bbad5')
//-
meta(name='msapplication-TileColor', content='#5bbad5')
meta(name='theme-color', content='#000')
meta(name='theme-color', content='#000')
meta(name='msapplication-navbutton-color', content='#000')
meta(name='msapplication-navbutton-color', content='#000')
meta(name='apple-mobile-web-app-status-bar-style', content='#000')
meta(name='apple-mobile-web-app-status-bar-style', content='#000')
...
...
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