Skip to content

Commit d6e9a31

Browse files
author
Ben Walker
committed
Make the title of blog posts link back to main page.
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
1 parent a3899a4 commit d6e9a31

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

_includes/page-header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<div class="container">
44
<div class="row">
55
<div class="col-lg-12">
6-
<div class="page-title">
7-
<h1>{{ site.title }}</h1>
6+
<div class="page-title-banner">
7+
<h1><a class = "page-title" href="{{ site.baseurl }}">{{ site.title }}</a></h1>
88
</ul>
99
</div>
1010
</div>

css/spdk.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,22 @@ p.copyright {
178178
background-size: cover;
179179
}
180180

181-
.page-title {
181+
.page-title-banner {
182182
position: relative;
183183
}
184184

185-
.page-title > h1 {
185+
.page-title {
186186
margin: 0;
187187
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
188-
font-size: 4em;
188+
color: #f8f8f8;
189+
}
190+
191+
a:hover.page-title {
192+
text-decoration: none;
193+
}
194+
195+
a:active.page-title {
196+
text-decoration: none;
189197
}
190198

191199
.post {

0 commit comments

Comments
 (0)