Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Commit

Permalink
Fix theme to be Ghost 2.0 compatible. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbrechbuehl authored and epistrephein committed Jan 3, 2019
1 parent 9e2c025 commit f0866e0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
12 changes: 12 additions & 0 deletions assets/css/steam.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -19,6 +19,7 @@
"keywords": [
"ghost",
"theme",
"ghost-theme",
"minimal",
"responsive"
],
Expand Down
12 changes: 6 additions & 6 deletions partials/post-author.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<section class="author">
{{#if author.profile_image}}
<div class="authorimage" style="background: url({{author.profile_image}})"></div>
{{#if primary_author.profile_image}}
<div class="authorimage" style="background: url({{primary_author.profile_image}})"></div>
{{else}}
<div class="authorimage" style="background: url({{asset "img/default-avatar.png"}})"></div>
{{/if}}
<h4 class="author-name">{{author.name}}</h4>
<p class="bio">{{author.bio}}</p>
<h4 class="author-name">{{primary_author.name}}</h4>
<p class="bio">{{primary_author.bio}}</p>
<p class="meta">
{{#if author.website}}<i class="fa fa-fw fa-globe"></i> <a href="{{author.website}}" target="_blank" rel="noopener">{{author.website}}</a><br>{{/if}}
{{#if author.location}}<i class="fa fa-fw fa-map-marker"></i> {{author.location}}{{/if}}
{{#if primary_author.website}}<i class="fa fa-fw fa-globe"></i> <a href="{{primary_author.website}}" target="_blank" rel="noopener">{{primary_author.website}}</a><br>{{/if}}
{{#if primary_author.location}}<i class="fa fa-fw fa-map-marker"></i> {{primary_author.location}}{{/if}}
</p>
</section>

0 comments on commit f0866e0

Please sign in to comment.