Skip to content

Commit 06bde8b

Browse files
Lets have the page header in the same style
For videos and news pages Signed-off-by: Artem Sidorenko <artem@posteo.de>
1 parent c9e704d commit 06bde8b

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

themes/devsec/layouts/blog/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
<section id="blog-header">
2+
<section id="page-header">
33
<div class="row">
44
<div class="large-12 medium-12 small-12 small-center columns">
55
<h2>News</h2>

themes/devsec/layouts/page/videos.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
{{ end }}
44

55
{{ define "main" }}
6+
<section id="page-header">
7+
<div class="row">
8+
<div class="large-12 medium-12 small-12 small-center columns">
9+
<h2>Videos</h2>
10+
</div>
11+
</div>
12+
</section>
613

714
<section class="articles bg-gray">
815
<div class="row">
916
<div class="large-12 medium-12 small-12 small-center columns">
1017
<div>
11-
<div class="row articles-header">
12-
<div class="small-12 columns">
13-
<h2>Videos</h2>
14-
</div>
15-
</div>
16-
1718
<div class="row articles-container" data-equalizer="">
1819
{{ range $ind, $vid := $.Site.Data.videos.videos }}
1920
<div class="large-6 medium-12 small-12 columns text-center video">

themes/devsec/static/css/app.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10463,10 +10463,10 @@ th.hide-for-touch {
1046310463
padding-bottom: 20px;
1046410464
}
1046510465

10466-
#blog-header {
10466+
#page-header {
1046710467
}
1046810468

10469-
#blog-header h2 {
10469+
#page-header h2 {
1047010470
text-align: center;
1047110471
}
1047210472

0 commit comments

Comments
 (0)