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 Table of Contents
========================================================================== */ ========================================================================== */

View File

@ -1,20 +1,23 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> {{! Document Settings }}
<title>{{settings.title}} | {{settings.description}}</title> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/css/style.css"> <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="/lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/js/index.js"></script> <script type="text/javascript" src="/js/index.js"></script>
</head> </head>
<body> <body>
<header>
{{#if settings.logo}}<a id="logo" href="/"><img src="{{settings.logo}}" alt="Logo"></a>{{/if}} {{! This is where shit gets real }}
<a id="title" href="/">{{settings.title}}</a>
<p id="description">{{settings.description}}</p>
<div class="clearfix"></div>
</header>
{{{body}}} {{{body}}}
</body> </body>
</html> </html>

View File

@ -1,14 +1,18 @@
{{!< default}} {{!< default}}
<section class="content"> <main class="content" role="main">
<ul class="hfeed"> <ul class="hfeed">
{{#foreach posts}} {{#foreach posts}}
<li class="wrap"> <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> <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> </article>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{pagination}} {{pagination}}
</section> </main>