Skip to content

Commit cff380e

Browse files
committed
Link to main page in title
1 parent 75209d9 commit cff380e

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

_README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ are.
88
To test locally, do
99

1010
make start
11+
12+
then view the pages on http://localhost:4000/.

_layouts/mainpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="wrapper">
1010

1111
<header>
12-
<h1>Open HackSpace Stockholm</h1>
12+
<h1><a class="title" href="/">Open HackSpace Stockholm</a></h1>
1313
</header>
1414
<section>
1515
{{ content }}

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="wrapper">
1212

1313
<header>
14-
<h1>Open HackSpace Stockholm</h1>
14+
<h1><a class="title" href="/">Open HackSpace Stockholm</a></h1>
1515
</header>
1616

1717
<section>

css/styles.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ h1, h2, h3 {
2222

2323
h1 {
2424
font-size:28px;
25-
}
25+
}
2626

2727
h2 {
2828
color:#393939;
@@ -32,11 +32,15 @@ h3, h4, h5, h6 {
3232
color:#494949;
3333
}
3434

35-
a {
35+
a:not(.title) {
3636
color:#39c;
3737
font-weight:400;
3838
text-decoration:none;
3939
}
40+
a.title {
41+
color:#222;
42+
text-decoration:none;
43+
}
4044

4145
a small {
4246
font-size:11px;

0 commit comments

Comments
 (0)