From f0866e05d464492fadb12e2103f6c26e63052450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Brechb=C3=BChl?= Date: Thu, 3 Jan 2019 10:30:29 +0100 Subject: [PATCH] Fix theme to be Ghost 2.0 compatible. (#18) --- assets/css/steam.css | 12 ++++++++++++ package.json | 3 ++- partials/post-author.hbs | 12 ++++++------ 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/assets/css/steam.css b/assets/css/steam.css index abb7a7b..2776bbf 100644 --- a/assets/css/steam.css +++ b/assets/css/steam.css @@ -279,6 +279,18 @@ img.userimage { margin-right: 10px; float: left; } +/* Image size options */ +section.post-content .kg-width-wide img { +} +section.post-content .kg-width-full img { +} +/* Image Gallery Card */ +.kg-gallery-container { +} +.kg-gallery-row { +} +.kg-gallery-image { +} /* === Footer === */ footer { background: rgba(0, 0, 0, 0.05); diff --git a/package.json b/package.json index c6096a5..a29ae2a 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/epistrephein" }, "engines": { - "ghost": ">=1.0.0" + "ghost": ">=2.1.0" }, "screenshots": { "desktop": "assets/screenshots/screenshot-desktop.jpg", @@ -19,6 +19,7 @@ "keywords": [ "ghost", "theme", + "ghost-theme", "minimal", "responsive" ], diff --git a/partials/post-author.hbs b/partials/post-author.hbs index b41e2fc..9edab73 100644 --- a/partials/post-author.hbs +++ b/partials/post-author.hbs @@ -1,13 +1,13 @@
- {{#if author.profile_image}} -
+ {{#if primary_author.profile_image}} +
{{else}}
{{/if}} -

{{author.name}}

-

{{author.bio}}

+

{{primary_author.name}}

+

{{primary_author.bio}}

- {{#if author.website}} {{author.website}}
{{/if}} - {{#if author.location}} {{author.location}}{{/if}} + {{#if primary_author.website}} {{primary_author.website}}
{{/if}} + {{#if primary_author.location}} {{primary_author.location}}{{/if}}