Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roryg/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory Gibson <rg.rorygibson@gmail.com>2017-07-23 00:04:50 +0300
committerRory Gibson <rg.rorygibson@gmail.com>2017-07-23 00:04:50 +0300
commit49cedae45aab151a355d975d2d2921e2daf37ee1 (patch)
treed0f4555451bb8ead62ac539cd487d383017e5c7c
parent44906ac414fbda5d74b5d95530d7b71ab2812b24 (diff)
Fix issues for Ghost 1.0 compatibilityghost-1.0
-rw-r--r--author.hbs4
-rw-r--r--default.hbs1
-rw-r--r--package.json10
-rw-r--r--page.hbs4
-rw-r--r--partials/post-content.hbs4
5 files changed, 14 insertions, 9 deletions
diff --git a/author.hbs b/author.hbs
index e162159..1ad8572 100644
--- a/author.hbs
+++ b/author.hbs
@@ -4,8 +4,8 @@
<section class="author-profile">
{{#author}}
<div class="author-heading">
- {{#if image}}
- <img class="author-avatar" src="{{image}}" width="50" height="50" alt="{{name}}">
+ {{#if profile_image}}
+ <img class="author-avatar" src="{{img_url profile_image}}" width="50" height="50" alt="{{name}}">
{{/if}}
<h1 class="author-name">{{name}}</h1>
diff --git a/default.hbs b/default.hbs
index e6fa2d3..580c687 100644
--- a/default.hbs
+++ b/default.hbs
@@ -7,7 +7,6 @@
{{! Page Meta }}
<title>{{meta_title}}</title>
- <meta name="description" content="{{meta_description}}" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
diff --git a/package.json b/package.json
index 1189ef3..5269755 100644
--- a/package.json
+++ b/package.json
@@ -1,4 +1,10 @@
{
- "name": "Ghostwriter",
- "version": "1.9.3"
+ "name": "ghostwriter",
+ "version": "1.9.3",
+ "author": {
+ "email": "rg.rorygibson+ghost@gmail.com"
+ },
+ "config": {
+ "posts_per_page": 5
+ }
} \ No newline at end of file
diff --git a/page.hbs b/page.hbs
index 7c30ba8..97d3717 100644
--- a/page.hbs
+++ b/page.hbs
@@ -10,8 +10,8 @@
</header>
<div class="post-content clearfix">
- {{#if image}}
- <img class="post-featured-image" src="{{image}}">
+ {{#if feature_image}}
+ <img class="post-featured-image" src="{{img_url feature_image}}">
{{/if}}
{{! No indention to prevent handlebars indenting <pre> tag content}}
diff --git a/partials/post-content.hbs b/partials/post-content.hbs
index 3f1c6ef..66cdc2e 100644
--- a/partials/post-content.hbs
+++ b/partials/post-content.hbs
@@ -6,8 +6,8 @@
</header>
<div class="post-content clearfix">
- {{#if image}}
- <img class="post-featured-image" src="{{image}}">
+ {{#if feature_image}}
+ <img class="post-featured-image" src="{{img_url feature_image}}">
{{/if}}
{{{content}}}