File tree Expand file tree Collapse file tree 1 file changed +47
-14
lines changed Expand file tree Collapse file tree 1 file changed +47
-14
lines changed Original file line number Diff line number Diff line change 11---
2- layout: blog-page
3- title: "Blog"
2+ layout: main
3+ extraCSS:
4+ - css/toolbar.css
5+ - css/sidebar.css
6+ title: Blog
47---
58
6- < ul class ="post-list ">
7- {% for post in site.posts %}
8- < li >
9- < div >
10- < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}</ a >
9+ {% include "toolbar" %}
10+
11+ < div id ="content-wrapper ">
12+ {% assign sidebarTop = "75px" %}
13+ {% include "sidebar" %}
14+
15+ < div id ="content-body " class ="doc-page-body ">
16+ < div id ="post-title ">
17+ < h1 id ="main-title "> {{ page.title }}</ h1 >
18+ {% if page.subTitle %}
19+ < h2 id ="sub-title "> {{ page.subTitle }}</ h2 >
20+ {% endif %}
1121 </ div >
12- < div class ="date ">
13- {{ post.date | date: '%B %d, %Y' }}
22+
23+ < div id ="blog-post-container ">
24+ < ul class ="post-list ">
25+ {% for post in site.posts %}
26+ < li >
27+ < div >
28+ < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}</ a >
29+ </ div >
30+ < div class ="date ">
31+ {{ post.date | date: '%B %d, %Y' }}
32+ </ div >
33+ < div class ="excerpt ">
34+ {{ post.excerpt }}
35+ </ div >
36+ </ li >
37+ {% endfor %}
38+ </ ul >
1439 </ div >
15- < div class ="excerpt ">
16- {{ post.excerpt }}
40+
41+ {% if page.author %}
42+ < div id ="post-footer ">
43+ {% if page.authorImg %}
44+ < img id ="author-image " src ="{{ site.baseurl }}/{{ page.authorImg }} ">
45+ {% endif %}
46+ < span id ="post-author ">
47+ {% if page.authorImg == null %}- {% endif %}{{ page.author }}
48+ </ span >
1749 </ div >
18- </ li >
19- {% endfor %}
20- </ ul >
50+ {% endif %}
51+
52+ </ div > <!-- end content-body -->
53+ </ div > <!-- end content-wrapper -->
You can’t perform that action at this time.
0 commit comments