File tree 9 files changed +37
-6
lines changed
9 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 1
1
title : Oliver Caldwell's lab
2
2
exclude : [vendor]
3
+ permalink : :title/
Original file line number Diff line number Diff line change 1
1
< header class ='site-header '>
2
- < h1 class ='site-title '> < a href ="{{site.url}} "> {{site.title}}</ a > </ h1 >
2
+ < h1 class ='site-title '> < a href ="/ "> {{site.title}}</ a > </ h1 >
3
3
< h2 class ="page-title "> {{page.title}}</ h2 >
4
4
</ header >
Original file line number Diff line number Diff line change 9
9
10
10
< body >
11
11
{% include header.html %}
12
-
13
- < section class ="page-content ">
14
- {{content}}
15
- </ section >
12
+ {{content}}
16
13
</ body >
17
14
</ html >
Original file line number Diff line number Diff line change 2
2
layout: base
3
3
---
4
4
5
- {{content}}
5
+ < section class ="page-content ">
6
+ {{content}}
7
+
8
+ < ul class ="posts ">
9
+ {% for post in site.posts %}
10
+ < li > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ li >
11
+ {% endfor %}
12
+ </ ul >
13
+ </ section >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ < aside class ="post-meta ">
6
+ < p > github.com/< a href ="https://github.com/Olical/lab "> Olical/lab</ a > /blob/js< a href ="https://github.com/Olical/lab/blob/js{{page.url}} "> {{page.url}}</ a > </ p >
7
+ </ aside >
8
+
9
+ < section class ="page-content ">
10
+ {{content}}
11
+ </ section >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : post
3
+ title : Hello, World!
4
+ ---
5
+
6
+ Test post, please ignore. The line below is generated with JavaScript.
7
+
8
+ <script src =" /js/hello-world/main.js " >
Original file line number Diff line number Diff line change
1
+ .post-meta {
2
+ background-color : $colour-off-white ;
3
+ padding : 10px 20px ;
4
+ }
Original file line number Diff line number Diff line change 6
6
@import " typography" ;
7
7
@import " page" ;
8
8
@import " header" ;
9
+ @import " post" ;
Original file line number Diff line number Diff line change
1
+ document . write ( 'Hello, World!' )
You can’t perform that action at this time.
0 commit comments