Skip to content
Permalink
Browse files

Adds Ghost 2.x compatibility (#105)

* fixes post-content.hbs

* fixes package.json

* adds styles for koenig elements

* fixes packages.json syntax

* fixes styles for koenig elements

* fixes minor css issue
  • Loading branch information...
tylerfontaine authored and roryg committed Jan 21, 2019
1 parent 817e6ad commit ea480adc1d0afab241e2a4d3008d5a1cb4900920
Showing with 39 additions and 5 deletions.
  1. +33 −0 assets/css/style.css
  2. +4 −3 package.json
  3. +2 −2 partials/post-content.hbs
@@ -622,3 +622,36 @@ table {
padding: 0 10px; } }

/*# sourceMappingURL=style.css.map */

/* ============================================================ */
/* Koenig Element Styles */
/* ============================================================ */

.kg-width-wide img {
max-width: 85vw;
}

.kg-width-full img {
max-width: 100vw;
}

.post-content.kg-gallery-container {
display: flex;
flex-direction: column;
margin: 1.5em auto;
max-width: 1040px;
width: 100vw;
}

.kg-gallery-row {
display: flex;
flex-direction: row;
justify-content: center;
}

.kg-gallery-image img {
display: block;
margin: 0;
width: 100%;
height: 100%;
}
@@ -1,10 +1,11 @@
{
"name": "ghostwriter",
"version": "1.9.3",
"version": "1.9.4",
"author": {
"email": "rg.rorygibson+ghost@gmail.com"
},
"config": {
"posts_per_page": 5
}
}
},
"keywords": ["ghost-theme"]
}
@@ -2,7 +2,7 @@
<header class="post-header">
<h1 class="post-title">{{title}}</h1>

<p class="post-date">Published <time datetime="{{published_at}}">{{date format="MMMM Do YYYY"}}</time> <strong>by {{author}}</strong></p>
<p class="post-date">Published <time datetime="{{published_at}}">{{date format="MMMM Do YYYY"}}</time> <strong>by {{authors}}</strong></p>
</header>

<div class="post-content clearfix">
@@ -38,4 +38,4 @@
</a>
</div>
</footer>
</article>
</article>

0 comments on commit ea480ad

Please sign in to comment.
You can’t perform that action at this time.