diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2014-12-04 20:02:23 -0800 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2014-12-04 20:03:12 -0800 |
| commit | 9fe2ac2521294d97cc7273a8ba0044943896d50f (patch) | |
| tree | 2c0acb5d9a89f30c4a26339e61cb4038338adfcf /index.html | |
| parent | update rsync command for publishing (diff) | |
| download | lumberjaph-9fe2ac2521294d97cc7273a8ba0044943896d50f.tar.gz | |
Update the theme.
Simpler and lighter theme. Not perfect yet, there's still more work to do on the
resume page and a few other things to fix (images in post, etc).
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 31 |
1 files changed, 22 insertions, 9 deletions
@@ -1,17 +1,30 @@ --- layout: default +title: lumberjaph.net --- -{% assign page = site.posts.first %} +<center><h1><a href="{{ root_url }}/">lumberjaph.net</a></h1></center> -<article id="entry"> +{% for post in site.posts reverse limit:10 %} - <header class="entry-title"> - <h1><a href={{ page.url }}>{{ page.title }}</a></h1> - </header> + {% capture date %}{{ post.date }}{% endcapture %} + {% capture this_year %}{{ date | date: "%Y" }}{% endcapture %} - <section> - {{ page.content }} - </section> + {% unless year == this_year %} + {% assign year = this_year %} + {% unless forloop.first %} + </section> + {% endunless %} + <section class="archives"><h2>{{ date | date: "%Y" }}</h2> + {% endunless %} -</article> + <article> + <h3><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h3> + <div class="meta"> + <span class="date">{{ date | date: "%b %e " }}</span> + </div> + </article> + +{% endfor %} + +{% include footer.html %} |
