File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="{{ site.lang | default: 'en-US' }} ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < title > {{ site.title }} Blog</ title >
6
+ < link rel ="stylesheet " href ="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }} ">
7
+ {% seo %}
8
+ {% include head-custom.html %}
9
+ </ head >
10
+ < body >
11
+ < div id ="header_wrap " class ="outer ">
12
+ < header class ="inner ">
13
+ < h1 > < a href ="{{ '/' | relative_url }} "> {{ site.title }}</ a > </ h1 >
14
+ < h2 > {{ site.description }}</ h2 >
15
+ </ header >
16
+ </ div >
17
+
18
+ < div id ="main_content_wrap " class ="outer " style ="max-width: 800px; margin: 0 auto; ">
19
+ < section id ="main_content " class ="inner ">
20
+ < h1 > Blog Posts</ h1 >
21
+ < ul style ="list-style: none; padding: 0; ">
22
+ {% for post in site.posts %}
23
+ < li style ="margin-bottom: 2em; ">
24
+ < h2 style ="margin-bottom: 0.2em; ">
25
+ < a href ="{{ post.url | relative_url }} "> {{ post.title }}</ a >
26
+ </ h2 >
27
+ < span style ="color: #888; font-size: 0.9em; ">
28
+ {{ post.date | date: "%B %d, %Y" }}
29
+ {% if post.author %} | by {{ post.author }}{% endif %}
30
+ </ span >
31
+ < p > {{ post.excerpt | strip_html | truncate: 160 }}</ p >
32
+ </ li >
33
+ {% endfor %}
34
+ </ ul >
35
+ </ section >
36
+ </ div >
37
+
38
+ < div id ="footer_wrap " class ="outer ">
39
+ < footer class ="inner ">
40
+ < p > © {{ site.time | date: '%Y' }} {{ site.title }}</ p >
41
+ </ footer >
42
+ </ div >
43
+ </ body >
44
+ </ html >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : post
3
+
4
+ ---
You can’t perform that action at this time.
0 commit comments