File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22layout : post
3- title : Test Post
3+ title : Test Post # 1
44---
55
6- First test post!
6+ First test post! First test post! First test post! First test post! First test post! First test post!
77
8- ### H3
8+ ### Subheader within the blog post
99
10- Hoy hoy hoy!
10+ Hoy hoy hoy! Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!
Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : Test Post # 2
4+ ---
5+
6+ Second test post! Second test post! Second test post! Second test post! Second test post! Second test post! Second test post! Second test post! Second test post!
7+
8+ ### Subheader within the blog post
9+
10+ Hoy hoy hoy! Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!
Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : Test Post # 3
4+ ---
5+
6+ Second test post :> Second test post :> Second test post :> Second test post :> Second test post :> Second test post :> Second test post :>
7+
8+ ### Subheader within the blog post
9+
10+ Hoy hoy hoy! Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!Hoy hoy hoy!
Original file line number Diff line number Diff line change 22layout: default
33---
44
5- < ul class ="posts ">
5+ < div class ="posts ">
66 {% for post in site.posts %}
7- < li >
8- < article class ="post ">
9- < header >
10- < time datetime ="{{ post.date }} "> {{ post.date | date: "%m.%d.%Y" }}</ time >
11- < h2 > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ h2 >
12- </ header >
7+ < article class ="post ">
8+ < header >
9+ < h2 > {{ post.title }}</ h2 >
10+ </ header >
1311
14- < div class ="entry ">
15- {{ post.content | truncatewords:85}}
16-
17- < p class ="read-more ">
18- < a href ="{{ post.url }} "> Read more</ a >
19- </ p >
20- </ div >
21- </ article >
22- </ li >
12+ < div class ="entry "> {{ post.content | truncatewords:50}}</ div >
13+
14+ < a href ="{{ post.url }} "> Read More</ a >
15+ </ article >
2316 {% endfor %}
24- </ ul >
17+ </ div >
Original file line number Diff line number Diff line change 55
66@import " _reset" ;
77@import " _variables" ;
8- @import " _mixins" ;
98@import " _highlights" ;
109// TODO - Tempted to move this to the end of the file, so that it shows up at the end of the .css. Or remove it entirely and find a better way to include highlighting.
1110
7675a {
7776 text-decoration : none ;
7877 cursor : pointer ;
79- color : $blue ;
80- & :hover , & :active {
78+ color : $blue ;
79+ & :hover , & :active {
8180 text-decoration : underline ;
8281 }
8382}
@@ -128,6 +127,7 @@ nav {
128127 font-size : 1rem ;
129128 }
130129
130+ // nav has it's own link highlighting
131131 a {
132132 margin-left : 25px ;
133133 text-align : right ;
@@ -155,8 +155,7 @@ nav {
155155}
156156
157157.post {
158- width : 700px ;
159- // margin: 0 auto;
158+ width : 680px ;
160159
161160 @include mobile {
162161 width : 100% ;
Original file line number Diff line number Diff line change @@ -386,35 +386,12 @@ nav {
386386 width : 100% ;
387387 text-align : center; } }
388388
389- .hero {
390- margin : 80 px 20 px 40 px ; }
389+ .post {
390+ width : 680 px ; }
391391 @media screen and (max-width : 520px ) {
392- .hero {
393- margin : 40px 0 ; } }
394- .hero img {
395- float : left;
396- width : 160px ;
397- padding-right : 30px ; }
398- .hero h1 {
399- float : left;
400- width : 590px ;
401- margin : 0 ;
402- font-weight : 400 ;
403- font-size : 2.5rem ;
404- line-height : 1.3 ; }
405- @media screen and (max-width : 520px ) {
406- .hero h1 {
407- font-size : 2.5rem ; } }
408- .hero p {
409- float : left;
410- width : 590px ; }
411-
412- article {
413- width : 700px ; }
414- @media screen and (max-width : 520px ) {
415- article {
392+ .post {
416393 width : 100% ; } }
417- article blockquote {
394+ . post blockquote {
418395 border-left : 2px solid # 666666 ;
419396 font-size : 1.2em ;
420397 font-style : italic;
You can’t perform that action at this time.
0 commit comments