Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

Commit 1852827

Browse files
author
Gustav Lindqvist
committed
Added compatability with Ghost 1.0
1 parent 4a8a1e0 commit 1852827

File tree

9 files changed

+19
-13
lines changed

9 files changed

+19
-13
lines changed

assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

author.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{!< default}}
2-
<header id="header" class="animated fadeIn"{{#if author.cover}} style="background-image: url({{author.cover}})"{{/if}}>
2+
<header id="header" class="animated fadeIn"{{#if author.cover_image}} style="background-image: url({{author.cover_image}})"{{/if}}>
33
<div class="header-background">
44
<section class="blog-content">
55
<a id="site-url" class="blog-title" href="{{@blog.url}}">{{@blog.title}}</a>

default.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88

99
<title>{{meta_title}}</title>
10-
<meta name="description" content="{{meta_description}}" />
1110
<link href="//fonts.googleapis.com/css?family=Noto+Sans:300,400,700" rel="stylesheet" type="text/css">
1211
<link href="//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic" rel="stylesheet" type="text/css">
1312
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
2-
"name": "Saga",
3-
"version": "1.2.3",
2+
"name": "saga",
3+
"version": "1.2.5",
44
"description": "Tell your story! A Ghost theme designed for photoblogging",
5-
"author": "Gustav Lindqvist"
5+
"author": {
6+
"name": "Gustav Lindqvist",
7+
"email": "gustav@lindqvist.io",
8+
"url": "https://saga.gustavlindqvist.se"
9+
},
10+
"config": {
11+
"posts_per_page": 10
12+
}
613
}

page.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{!< default}}
22
{{#post ~}}
3-
<header id="header" class="animated fadeIn"{{#if image}} style="background-image: url({{image}})"{{/if}}>
3+
<header id="header" class="animated fadeIn"{{#if feature_image}} style="background-image: url({{feature_image}})"{{/if}}>
44
<div class="header-background">
55
<section class="blog-content">
66
<a id="site-url" class="blog-title" href="{{@blog.url}}">{{@blog.title}}</a>

partials/loop.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<section id="feed" class="feed">
22
{{#foreach posts}}
33
<article class="{{post_class}}" style="opacity: 0;">
4-
{{#if image}}
4+
{{#if feature_image}}
55
<a href="{{url}}" class="post-image">
6-
<img src="{{image}}" alt="">
6+
<img src="{{feature_image}}" alt="">
77
<h2 class="post-title">{{{title}}}</h2>
88
</a>{{else}}
99
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>

post.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{!< default}}
22
{{#post ~}}
3-
<header id="header" class="animated fadeIn"{{#if image}} style="background-image: url({{image}})"{{/if}}>
3+
<header id="header" class="animated fadeIn"{{#if feature_image}} style="background-image: url({{feature_image}})"{{/if}}>
44
<div class="header-background">
55
<section class="blog-content">
66
<a id="site-url" class="blog-title" href="{{@blog.url}}">{{@blog.title}}</a>

sass/layout.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ body {
111111
}
112112
}
113113

114-
.home-template, .archive-template {
114+
.home-template, .paged {
115115
#header {
116116
height: 60px;
117117
position: relative;
@@ -414,7 +414,7 @@ body {
414414
background-position: center;
415415
}
416416
}
417-
.home-template, .archive-template {
417+
.home-template, .paged {
418418
#header {
419419
.blog-content {
420420
.blog-description {

tag.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{!< default}}
2-
<header id="header" class="animated fadeIn"{{#if tag.image}} style="background-image: url({{tag.image}})"{{/if}}>
2+
<header id="header" class="animated fadeIn"{{#if tag.feature_image}} style="background-image: url({{tag.feature_image}})"{{/if}}>
33
<div class="header-background">
44
<section class="blog-content">
55
<a id="site-url" class="blog-title" href="{{@blog.url}}">{{@blog.title}}</a>

0 commit comments

Comments
 (0)