Skip to content

Commit

Permalink
remove the dubious "page" layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Mar 18, 2012
1 parent 67892ab commit 59c7164
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 18 deletions.
11 changes: 0 additions & 11 deletions _layouts/page.html

This file was deleted.

8 changes: 7 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
layout: page
layout: default
---

{% if page.link %}
<h1><a href="{{ page.link | escape }}">{{ page.title }}</a>&nbsp;→</h1>
{% else %}
<h1>{{ page.title }}</h1>
{% endif %}

<p class="subtext">
{% unless page.link %}
By <a href="/">Mislav</a>
Expand Down
6 changes: 4 additions & 2 deletions _layouts/section.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
layout: page
layout: default
---

<h1>{{ page.title }}</h1>

<div id="description">
{{ content }}
</div>
Expand All @@ -15,4 +17,4 @@ <h2>Posts in this category:</h2>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ol>
</ol>
4 changes: 3 additions & 1 deletion feeds/index.markdown
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
layout: page
layout: default
title: Feeds
---

<h1>{{ page.title }}</h1>

Available feeds for this site:

<ol class="feeds">
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: Mislav Marohnić
description: "Don't worry, I can't pronounce my last name either"
layout: page
layout: default
---

<h1>{{ page.title }}</h1>

<div id="description" class="vcard">
<p>
<img src="/images/mislav.jpg" alt="Mislav Marohnić" class="fn">
Expand Down
4 changes: 3 additions & 1 deletion instapaper.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Mislav's reading list
layout: page
layout: default
permalink: /instapaper/
styles: |
ol { margin-top: 3em }
Expand All @@ -14,6 +14,8 @@
}
---

<h1>{{ page.title }}</h1>

<p>
These are articles from places on the Web that I read and liked.<br>
You can use <a href="http://www.instapaper.com/">Instapaper</a> to
Expand Down
4 changes: 3 additions & 1 deletion projects.markdown
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: page
layout: default
title: Mislav's projects
permalink: "/projects/"
---

<h1>{{ page.title }}</h1>

## Projects I started

For the full list of my projects, [view my GitHub profile][1] and [keep track of my activity][2] in a feed reader.
Expand Down

0 comments on commit 59c7164

Please sign in to comment.