This commit is contained in:
John O'Nolan 2013-08-10 15:06:01 +02:00 committed by Hannah Wolfe
parent 2d5ce92bab
commit 61a960d03f
3 changed files with 21 additions and 23 deletions

View file

@ -1,12 +1,3 @@
/*
* Theme Name: Casper
* Theme URI: http://tryghost.org
* Description: The default Ghost theme for personal blogging.
* Author: Ghost
* Author URI: http://tryghost.org;
* Version:1.0
*/
/* ==========================================================================
Table of Contents
========================================================================== */

View file

@ -1,20 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{settings.title}} | {{settings.description}}</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
{{! Document Settings }}
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{{! Page Meta }}
<title>{{settings.title}}</title>
<meta name="description" content="{{settings.description}}" />
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<script type="text/javascript" src="/lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
</head>
<body>
<header>
{{#if settings.logo}}<a id="logo" href="/"><img src="{{settings.logo}}" alt="Logo"></a>{{/if}}
<a id="title" href="/">{{settings.title}}</a>
<p id="description">{{settings.description}}</p>
<div class="clearfix"></div>
</header>
{{! This is where shit gets real }}
{{{body}}}
</body>
</html>

View file

@ -1,14 +1,18 @@
{{!< default}}
<section class="content">
<main class="content" role="main">
<ul class="hfeed">
{{#foreach posts}}
<li class="wrap">
<article class="post type-post status-publish format-standard hentry">
<article class="post">
<h2 class="entry-title"><a href="/{{slug}}" rel="bookmark">{{title}}</a></h2>
<time class="updated" datetime="2012-05-03">{{dateFormat published_at format="MMMM DD, YYYY"}}</time>
<time datetime="2012-05-03">{{dateFormat published_at format="MMMM DD, YYYY"}}</time>
</article>
</li>
{{/foreach}}
</ul>
{{pagination}}
</section>
</main>