Compare commits

...

19 Commits
0.9.0 ... 0.9.1

Author SHA1 Message Date
c4c276653d Fix line-wrapping on gists 2013-09-27 16:59:50 +02:00
3b5443a97c Dropped old image fixtures 2013-09-27 10:59:09 +02:00
60cf743042 Merge pull request #27 from Japh/patch-1
Update README.md
2013-09-25 07:13:33 -07:00
c2fcb94502 Update README.md
Fixes typo.
2013-09-25 23:28:23 +10:00
9ef17def42 Tweak to make gist embeds work with 100+ lines 2013-09-24 09:43:11 +02:00
bd71951dbb Updated CSS Table of Contents 2013-09-24 09:28:59 +02:00
ded174bab0 Added support for github gist embeds
Fixes #26
2013-09-24 09:21:52 +02:00
2bd73d696a Share icons open dialog
g+ icon works and all 3 open in a dialog
2013-09-18 00:31:21 +01:00
aa1fa8b445 Merge pull request #23 from cobbspur/meta
Adds {{meta_title}} and {{meta_description}} to casper theme
2013-09-17 15:14:34 -07:00
ff9f091cd3 Adds {{meta_title}} and {{meta_description}} to casper theme
- uses meta_title and meta_description helpers rather than @blog.title
2013-09-17 23:13:49 +01:00
ca7eb5ad03 Add G+ share link 2013-09-17 11:44:19 +01:00
30dce03e86 Assets need slashes 2013-09-15 17:50:23 +01:00
9aaa0ec17a Wiring up blog cover image 2013-09-09 18:07:19 +01:00
74dfeb37b0 Responsive styles to fix broken pagination on mobile 2013-09-08 22:59:40 +02:00
19ed4267fe Updating {{url}} helper to working syntax 2013-09-06 18:50:23 +01:00
1f1e2062b7 Merge pull request #21 from sethlilly/theme-development
Removed closing slash in description `meta` tag
2013-09-04 14:40:18 -07:00
51634b8059 Added self-closing tags to header
Added self-closing tags to header

Reverses commit 13e9620

- Self-closed tags in the header per Ghost code spec
2013-09-04 15:45:35 -04:00
13e9620d0f Removed closing slash in description meta tag
Removed closing slash in description `<meta>` tag

- Self-closing tag removed as it is unnecessary in HTML5.
2013-09-04 15:33:32 -04:00
f1f2b54c07 Added RSS 2013-09-04 18:04:33 +02:00
7 changed files with 84 additions and 37 deletions

View File

@ -4,11 +4,11 @@ The default theme for [Ghost](http://github.com/tryghost/ghost/).
## Copyright & License
Copyright (C) 2013 Ghost Foundation - Released under the MIT Lincense.
Copyright (C) 2013 Ghost Foundation - Released under the MIT License.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -3,9 +3,19 @@
========================================================================== */
/*
0. Includes
1. General
2. Something else
0. Includes
1. Icons
2. General
3. Utilities
4. General
5. Single Post
6. Third Party Elements
7. Pagination
8. Footer
9. Media Queries (Tablet)
10. Media Queries (Mobile)
*/
/* ==========================================================================
@ -65,7 +75,7 @@
/* ==========================================================================
1. General - Setting up some base styles
2. General - Setting up some base styles
========================================================================== */
html {
@ -317,7 +327,7 @@ table.plain {
/* ==========================================================================
1. Utilities - These things get used a lot
3. Utilities - These things get used a lot
========================================================================== */
/* Hides shit */
@ -343,7 +353,7 @@ table.plain {
/* ==========================================================================
1. General
4. General - The main styles for the the theme
========================================================================== */
/* Big cover image on the home page */
@ -499,7 +509,7 @@ table.plain {
}
/* ==========================================================================
1. Single Post - When you click on an individual post
5. Single Post - When you click on an individual post
========================================================================== */
/* Tweak the .post wrapper style */
@ -574,7 +584,24 @@ table.plain {
/* ==========================================================================
1. Pagination
6. Third Party Elements - Embeds from other services
========================================================================== */
/* Github */
.gist table {
margin: 0;
font-size: 1.4rem;
}
.gist .line-number {
min-width: 25px;
font-size: 1.1rem;
}
/* ==========================================================================
7. Pagination - Tools to let you flick between pages
========================================================================== */
/* The main wrapper for our pagination links */
@ -625,7 +652,7 @@ table.plain {
/* ==========================================================================
1. Footer - The bottom of every page
8. Footer - The bottom of every page
========================================================================== */
.site-footer {
@ -743,7 +770,7 @@ table.plain {
/* ==========================================================================
1. Media Queries - Smaller than 900px
9. Media Queries - Smaller than 900px
========================================================================== */
@media only screen and (max-width: 900px) {
@ -804,7 +831,7 @@ table.plain {
}
/* ==========================================================================
1. Media Queries - Smaller than 500px
10. Media Queries - Smaller than 500px
========================================================================== */
@ -888,7 +915,18 @@ table.plain {
margin: 1.4rem 0.8rem 0 0.8rem;
}
.older-posts,
.newer-posts {
position: static;
margin: 10px 0;
}
.page-number {
display: block;
}
.site-footer {
margin-top: 6rem;
font-size: 1.1rem;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

View File

@ -2,21 +2,21 @@
<html>
<head>
{{! 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>{{@blog.title}}</title>
<meta name="description" content="{{@blog.description}}" />
<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>{{meta_title}}</title>
<meta name="description" content="{{meta_description}}" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="/assets/css/screen.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic|Open+Sans:700,400">
<link rel="stylesheet" type="text/css" href="/assets/css/screen.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic|Open+Sans:700,400" />
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
@ -26,7 +26,7 @@
{{{body}}}
<footer class="site-footer">
<a class="subscribe icon-feed" href="#"><span class="tooltip">Subscribe!</span></a>
<a class="subscribe icon-feed" href="{{@blog.url}}/rss/"><span class="tooltip">Subscribe!</span></a>
<div class="inner">
<section class="copyright">All content copyright <a href="/">{{@blog.title}}</a> &copy; 2013 &bull; All rights reserved.</section>
<section class="poweredby">Proudly published with <a class="icon-ghost" href="http://tryghost.org">Ghost</a></section>
@ -37,7 +37,7 @@
{{ghost_foot}}
{{! The main JavaScript file for Casper }}
<script type="text/javascript" src="assets/js/index.js"></script>
<script type="text/javascript" src="/assets/js/index.js"></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
the {body} of the default.hbs template, which contains our header/footer. }}
{{! The big featured header on the homepage, with the site logo and description }}
<header id="site-head" {{! style="background-image: url()" }}>
<header id="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<div class="vertical">
<div id="site-head-content" class="inner">
@ -25,7 +25,7 @@
<header class="post-header">
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
</header>
<section class="post-excerpt">
<p>{{excerpt}}&hellip;</p>
@ -33,7 +33,7 @@
</article>
{{/foreach}}
{{!! After all the posts, we have the previous/next pagination links }}
{{pagination}}

View File

@ -6,7 +6,7 @@
<main class="content" role="main">
<article class="{{post_class}}">
{{! Each post has the blog logo at the top, with a link back to the home page }}
<header class="post-header">
<a id="blog-logo" href="{{@blog.url}}">
@ -20,9 +20,9 @@
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
{{! Everything below outputs content of the the post which has been published }}
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags separator=" | "}}{{/if}}</span>
<h1 class="post-title">{{title}}</h1>
@ -41,9 +41,18 @@
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute}}"><span class="hidden">Twitter</span></a>
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{url absolute}}"><span class="hidden">Facebook</span></a>
<a class="icon-google-plus" href="#"><span class="hidden">Google+</span></a>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</section>
</footer>