diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2011-12-28 19:32:44 +0000 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2011-12-28 19:32:44 +0000 |
| commit | fc6384360e2e4ce8905ff7769866f8dba3702a02 (patch) | |
| tree | 7a804eea783b0a82a416c0cf86530d3712d7f0a7 /_site_build/_layouts/post.html | |
| parent | 5e4be1b2145ab96fd57d4a61f266169c13af51b4 (diff) | |
Create basic layout for site.
Diffstat (limited to '_site_build/_layouts/post.html')
| -rw-r--r-- | _site_build/_layouts/post.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html new file mode 100644 index 0000000..3d460eb --- /dev/null +++ b/_site_build/_layouts/post.html @@ -0,0 +1,22 @@ +--- +layout: default +--- +<article> + <header> + <h1>{{ page.title }}</h1> + <time datetime="{{ page.date | date: '%Y-%m-%d' }}" pubdate>{{ page.date | date: '%A, %d %B, %Y' }}</time> + </header> + {{ content }} + <footer> + <nav> + <ul> + {% if page.previous.url %} + <li class="prev-article"><a href="{{ page.previous.url }}" target="_self" rel="prev" title="{{ page.previous.title }}">« {{ page.previous.title }}</a></li> + {% endif %} + {% if page.next.url %} + <li class="next-article"><a href="{{ page.next.url }}" target="_self" rel="next" title="{{ page.next.title }}">{{ page.next.title }} »</a></li> + {% endif %} + </ul> + </nav> + </footer> +</article> |
