From 43d2d4b1d9ca7e1312a79e95d373844c765fb800 Mon Sep 17 00:00:00 2001 From: Raivis Vitols Date: Fri, 18 Aug 2017 17:31:15 +0300 Subject: [PATCH] Tweaking theme to be compatible with 1.X versions of Ghost --- assets/img/favicon.ico | Bin 1150 -> 0 bytes author.hbs | 4 ++-- package.json | 6 ++++++ partials/head.hbs | 4 ---- partials/post-list.hbs | 2 +- partials/prev-next.hbs | 4 ++-- partials/sidebar.hbs | 2 +- 7 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 assets/img/favicon.ico diff --git a/assets/img/favicon.ico b/assets/img/favicon.ico deleted file mode 100644 index 6da2722969b6aac8032fcdf6517fa4fabc3a8171..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmZQzU<5(|0R|vYV8~!$U=RbcG=LZ+qyWT>V3L8s0VszB{0EAS;?Xb|O#>q`4g3ej HJNXy@a>*cZ diff --git a/author.hbs b/author.hbs index 23094b9..e1d2884 100644 --- a/author.hbs +++ b/author.hbs @@ -1,9 +1,9 @@ {{!< default}} {{#author}}
- {{#if image}} + {{#if profile_image}}
- {{name}}'s Picture + {{name}}'s Picture
{{/if}} diff --git a/package.json b/package.json index 235d302..4fd467c 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,12 @@ "name": "Raivis Vitols", "url": "https://raivis.com" }, + "engines": { + "ghost": ">=1.0.0" + }, + "config": { + "posts_per_page": 9 + }, "devDependencies": { "grunt": "~1.0.1", "grunt-sass": "~1.1.0", diff --git a/partials/head.hbs b/partials/head.hbs index 982127e..d93d859 100644 --- a/partials/head.hbs +++ b/partials/head.hbs @@ -2,11 +2,7 @@ {{meta_title}} - - - - diff --git a/partials/post-list.hbs b/partials/post-list.hbs index d37bb83..7b41ed3 100644 --- a/partials/post-list.hbs +++ b/partials/post-list.hbs @@ -2,7 +2,7 @@ {{#foreach posts}}