diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
| commit | 8ddf2e94df70707b458528a437759b96046d3e01 (patch) | |
| tree | d442818d92d3c9c6f7fcdc92857a1228963849a1 /_layouts | |
| parent | Don't need to use the IP in the makefile. (diff) | |
| download | lumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz | |
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and
styles. Added a new page for the resume.
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 22 | ||||
| -rw-r--r-- | _layouts/post.html | 40 | ||||
| -rw-r--r-- | _layouts/static.html | 3 |
3 files changed, 27 insertions, 38 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index d0b393f..b883c95 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,27 +15,13 @@ <meta name="twitter:description" content="{{ page.summary }}"> <title>{{ page.title }} | lumberjaph.net</title> - {% stylesheet lumberjaph %} + <link rel="stylesheet" href="/static/css/style.css" type="text/css"/> + <link rel="stylesheet" href="/static/css/emacs.css" type="text/css"/> + </head> <body> - <div class="row"> - <div class="large-12 large-offset-1 columns" id="header"> - <h1><a href="/">Franck Cuny</a></h1> - { - <a href="/">writing</a>, - <a href="/projects.html">projects</a>, - <a href="/about.html">about</a>, - <a href="/contact.html">contact</a> - } - </div> - </div> - - <div class="row"> - <div class="large-10 large-centered columns"> - {{ content }} - </div> - </div> + <div id="container"> {{ content }} </div> </body> </html> diff --git a/_layouts/post.html b/_layouts/post.html index 3422dbe..47e12a4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,28 +1,30 @@ --- layout: default --- -<h2 class="post-title"><a href="{{ page.url }}">{{ page.title }}</a></h2> +<h1><a href="{{ page.url }}">{{ page.title }}</a></h1> -<p class="date">{{ page.date | date_to_string }}</p> +{% if page.previous.url %} + <p id="bigleft"><a href="{{page.previous.url}}">«</a></p><br /> +{% endif %} +{% if page.next.url %} + <p id="bigright"><a href="{{page.next.url}}">»</a></p> +{% endif %} -{{ content }} +<div id="entry"> + {{ content }} -<hr /> + <p class="timestamp"> + {% if page.previous.url %} + <a href="{{page.previous.url}}">« {{page.previous.title}}</a> | + {% endif %} -<div id="call-to-action"> - <h3>Read More</h3> - <ul> - {% for post in site.related_posts %}{% if post.url != page.url %} - <li> - <a href="{{ post.url }}">{{ post.title }}</a> - ({{ post.date | date_to_string }}) - </li> - {% endif %}{% endfor %} - </ul> -</div> + {{ page.date | date_to_string }} + + {% if page.next.url %} + | <a href="{{page.next.url}}">{{page.next.title}} »</a> + {% endif %} + </p> -<hr/> +</div> -<footer> - <span>I sleep all night and I work all day.</span><br/> -</footer> +{% include footer.html %} diff --git a/_layouts/static.html b/_layouts/static.html index 3f58dbb..2e6ba00 100644 --- a/_layouts/static.html +++ b/_layouts/static.html @@ -1,7 +1,8 @@ --- layout: default --- -<h2 class="static-title"><a href="{{ page.url }}">{{ page.title }}</a></h2> +<h1 class="static-title"><a href="{{ page.url }}">{{ page.title }}</a></h1> {{ content }} +{% include footer.html %} |
