Skip to content

Commit

Permalink
Updates for multi-author support in Ghost 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ericterpstra committed Aug 24, 2014
1 parent fdeabfa commit c912afe
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
13 changes: 13 additions & 0 deletions author.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{!< default}}

<h1>Posts by {{author.name}}...</h1>

{{#foreach posts}}
{{> list-post}}
{{/foreach}}


{{!! After all the posts, show the newer/older pagination links }}
{{#if pagination}}
{{pagination}}
{{/if}}
4 changes: 2 additions & 2 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>{{@blog.title}}</title>
<title>{{meta_title}}</title>

<meta name="description" content="{{@blog.description}}">
<meta name="description" content="{{meta_description}}">

<!-- mobile meta -->
<meta name="HandheldFriendly" content="True">
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "linen",
"version": "0.3.0",
"version": "0.5.0",
"author" : "Theme Spectre",
"description" : "An open-source starter theme for Ghost.",
"homepage" : "http://themespectre.com/linen/",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion tag.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!< default}}


<h1>Posts about <em>{{tag.name}}</em></h1>

{{#foreach posts}}
{{> list-post}}
Expand Down

0 comments on commit c912afe

Please sign in to comment.