Skip to content

Commit cdd887c

Browse files
committed
header
1 parent 3a60516 commit cdd887c

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

modules/frontpage/templates/blocks/_frontpage-content/index.pug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ mixin frontpage-content(data)
1717
+e('li').more= t('tutorial.more')
1818

1919
+b.frontpage-content
20+
2021
+e.container
2122
- let folder = tutorialTree.bySlug('js')
2223
+e.inner

modules/frontpage/templates/blocks/_frontpage-content/index.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
&__inner
4141
max-width 920px
42-
margin 0 auto
42+
margin 0 // 0 auto
4343
padding-top 48px
4444
padding-bottom 64px
4545

modules/frontpage/templates/frontpage.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ include blocks/_frontpage-content
44

55
block append variables
66
- var headTitle = t('tutorial.modern_javascript_tutorial');
7-
- var title = false
8-
- var header = false
7+
- var title = t('tutorial.modern_javascript_tutorial')
8+
- var header = t('tutorial.modern_javascript_tutorial')
99
- var layout_main_class = 'main_width-limit-wide'
1010
- var content_class = 'frontpage'
1111

modules/styles/blocks/main/main.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $main-loud
2727
padding 0
2828

2929
&__header
30-
margin 40px 0 16px 0
30+
margin 20px 0 -30px 0
3131

3232
&__header_center
3333
border 0

0 commit comments

Comments
 (0)