Skip to content

Commit 0f0837c

Browse files
committed
update pub page style
1 parent 92294a9 commit 0f0837c

7 files changed

Lines changed: 885 additions & 272 deletions

File tree

_layouts/default.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
<!DOCTYPE html>
22
<html lang="en-us">
33
{% include head.html %}
4-
<body>
4+
<body class="layout-default page-{{ page.title | default: 'page' | slugify }}">
55
{% include banner.html %}
66

7-
<main class="side-main">
8-
<section class="hero-banner mb-30px">
9-
<div class="container">
10-
<div class="hero-banner--sm__content">
11-
<h1>{{ page.title }}</h1>
12-
</div>
13-
</div>
14-
</section>
15-
<!--================ End banner =================-->
7+
<main class="side-main">
168
{{ content }}
179
{% include footer.html %}
18-
</main>
10+
</main>
1911
{% include bottom.html %}
2012
</body>
2113
</html>

_layouts/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en-us">
33
{% include head.html %}
4-
<body>
4+
<body class="layout-home page-{{ page.title | default: 'home' | slugify }}">
55
{% include banner.html %}
66
<main class="side-main">
77
{{ content }}
88
{% include footer.html %}
99
</main>
1010
{% include bottom.html %}
1111
</body>
12-
</html>
12+
</html>

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
22
<html lang="en-us">
33
{% include head.html %}
4-
<body>
4+
<body class="layout-post page-{{ page.title | default: 'post' | slugify }}">
55
{% include banner.html %}
66
<main class="side-main">
7-
<section class="hero-banner mb-30px">
7+
<section class="hero-banner hero-banner--sm mb-30px">
88
<div class="container">
99
<div class="hero-banner--sm__content">
1010
<h1>{{ page.title }}</h1>

_layouts/single.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
<!DOCTYPE html>
22
<html lang="en-us">
33
{% include head.html %}
4-
<body>
4+
<body class="layout-single page-{{ page.title | default: 'page' | slugify }}">
55
{% include banner.html %}
66

77
<main class="side-main">
8-
<section class="hero-banner mb-30px">
9-
<div class="container">
10-
<div class="hero-banner--sm__content">
11-
<h1>{{ page.title }}</h1>
12-
</div>
13-
</div>
14-
</section>
15-
<!--================ End banner =================-->
168
<section class="section-margin">
179
<div class="container">
1810
{{ content }}

0 commit comments

Comments
 (0)