diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/index.html | 4 | ||||
| -rw-r--r-- | _layouts/post.html | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/_layouts/index.html b/_layouts/index.html index ed369a4..7c546a2 100644 --- a/_layouts/index.html +++ b/_layouts/index.html | |||
| @@ -23,8 +23,8 @@ | |||
| 23 | <ul> | 23 | <ul> |
| 24 | {% for post in site.posts %} | 24 | {% for post in site.posts %} |
| 25 | <li> | 25 | <li> |
| 26 | {{ post.date | date: "%m/%d/%Y" }} | 26 | <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: '%A, %B %-d, %Y' }}</time> |
| 27 | <a href="{{ post.url }}">{{ post.title }}</a> | 27 | <div><a href="{{ post.url }}">{{ post.title }}</a></div> |
| 28 | </li> | 28 | </li> |
| 29 | {% endfor %} | 29 | {% endfor %} |
| 30 | </ul> | 30 | </ul> |
diff --git a/_layouts/post.html b/_layouts/post.html index 3c80ab1..95dd3f0 100644 --- a/_layouts/post.html +++ b/_layouts/post.html | |||
| @@ -19,7 +19,13 @@ | |||
| 19 | {% include header.html %} | 19 | {% include header.html %} |
| 20 | 20 | ||
| 21 | <article> | 21 | <article> |
| 22 | {{ content }} | 22 | |
| 23 | <h1>{{ page.title }}</h1> | ||
| 24 | |||
| 25 | <time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}</time> | ||
| 26 | |||
| 27 | {{ content }} | ||
| 28 | |||
| 23 | </article> | 29 | </article> |
| 24 | 30 | ||
| 25 | {% include footer.html %} | 31 | {% include footer.html %} |
