diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2015-07-07 01:59:38 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2015-07-07 01:59:38 -0700 |
| commit | d4991b1136e6e9e8a14cd497148f381b8436454a (patch) | |
| tree | ad9368eeb25ae23f1d0f4caa2e3c2d0fa30531ae /index.html | |
| parent | Add CNAME file for custom domain (diff) | |
| download | lumberjaph-d4991b1136e6e9e8a14cd497148f381b8436454a.tar.gz | |
Update layout.
Fix layout for static pages, update the about page, add some gists, etc.
Diffstat (limited to '')
| -rw-r--r-- | index.html | 28 |
1 files changed, 8 insertions, 20 deletions
@@ -3,28 +3,16 @@ layout: default title: lumberjaph.net --- -<center><h1><a href="{{ root_url }}/">lumberjaph.net</a></h1></center> +{% for post in site.posts limit:1 %} +<header> + <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> +</header> -{% for post in site.posts reverse limit:10 %} +<section> - {% capture date %}{{ post.date }}{% endcapture %} - {% capture this_year %}{{ date | date: "%Y" }}{% endcapture %} + <div id="entry"> {{ post.content }} </div> - {% unless year == this_year %} - {% assign year = this_year %} - {% unless forloop.first %} - </section> - {% endunless %} - <section class="archives"><h2>{{ date | date: "%Y" }}</h2> - {% endunless %} - - <article> - <h3><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h3> - <div class="meta"> - // <span class="date">{{ date | date: "%b %e " }}</span> ‐ <span class="oneliner">{{ post.summary }}</span> - </div> - </article> + {% include footer.html %} +</section> {% endfor %} - -{% include footer.html %} |
