Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions author.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!< default}}

<header class="animated fadeIn" {{#if author.cover}}style="background-image: url({{author.cover}})"{{/if}}>
<header class="animated fadeIn" {{#if author.cover_image}}style="background-image: url({{author.cover_image}})"{{/if}}>
<div class="container" data-stellar-ratio="0.75">
<div class="title animated fadeInUp">
{{#author}}
Expand All @@ -12,7 +12,7 @@
<div class="published animated fadeInUp">
<div class="author-image">
{{#author}}
<img src="{{image}}" alt="{{name}}" />
<img src="{{img_url profile_image}}" alt="{{name}}" />
{{/author}}
</div>
<strong class="article-count text-center">{{plural pagination.total empty="No posts" singular="% article" plural="% articles"}}</strong>
Expand Down
6 changes: 3 additions & 3 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<link rel="apple-touch-icon" href="{{asset 'images/apple-touch-icon.png'}}" />

{{! Prerendering and Prefetching }}
{{#if @blog.cover}}
<link rel="prerender" href="{{@blog.cover}}" />
<link rel="prefetch" href="{{@blog.cover}}" />
{{#if @blog.cover_image}}
<link rel="prerender" href="{{@blog.cover_image}}" />
<link rel="prefetch" href="{{@blog.cover_image}}" />
{{/if}}
<link rel="dns-prefetch" href="//fonts.googleapis.com/" />

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Phantom",
"version": "5.0.1",
"version": "5.0.2",
"description": "A minimalistic theme for Ghost inspired by the Designmodo Journal.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{> post-meta}}

<header class="animated fadeIn" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<header class="animated fadeIn" {{#if @blog.cover_image}}style="background-image: url({{@blog.cover_image}})"{{/if}}>
<div class="container" data-stellar-ratio="0.75">
{{> title}}
<div class="sidebar text-right meta">
Expand Down
2 changes: 1 addition & 1 deletion partials/comments.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script type="text/javascript">
var disqus_shortname = 'YOUR_SHORTNAME_HERE';
var disqus_title = '{{title}}';
var disqus_identifier = '{{id}}';
var disqus_identifier = '{{comment_id}}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
Expand Down
2 changes: 1 addition & 1 deletion partials/cover.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="animated blog-cover fadeIn" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<header class="animated blog-cover fadeIn" {{#if @blog.cover_image}}style="background-image: url({{@blog.cover_image}})"{{/if}}>
<h1 class="blog-title">{{@blog.title}}</h1>
<h2 class="blog-description">{{@blog.description}}</h2>
</header>
6 changes: 3 additions & 3 deletions partials/index-meta.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta property="twitter:url" content="{{@blog.url}}" />
<meta property="og:description" content="{{@blog.description}}" />
<meta property="twitter:description" content="{{@blog.description}}" />
{{#if @blog.cover}}
<meta property="og:image" content="{{@blog.cover}}" />
<meta property="twitter:image" content="{{@blog.cover}}" />
{{#if @blog.cover_image}}
<meta property="og:image" content="{{@blog.cover_image}}" />
<meta property="twitter:image" content="{{@blog.cover_image}}" />
{{/if}}
{{/contentFor}}
6 changes: 3 additions & 3 deletions partials/post-meta.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta property="twitter:url" content="{{url absolute='true'}}" />
<meta property="og:description" content="{{excerpt characters='157'}}..." />
<meta property="twitter:description" content="{{excerpt characters='157'}}..." />
{{#if image}}
<meta property="og:image" content="{{image}}" />
<meta property="twitter:image" content="{{image}}" />
{{#if profile_image}}
<meta property="og:image" content="{{img_url profile_image}}" />
<meta property="twitter:image" content="{{img_url profile_image}}" />
{{/if}}
{{/contentFor}}
4 changes: 2 additions & 2 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{> post-meta}}

<header class="animated fadeIn" {{#if image}}style="background-image: url({{image}})"{{/if}}>
<header class="animated fadeIn" {{#if feature_image}}style="background-image: url({{feature_image}})"{{/if}}>
<div class="container" data-stellar-ratio="0.75">
{{> title}}
{{> sidebar}}
Expand All @@ -21,7 +21,7 @@
<div class="container">
<div class="author animated fadeIn clearfix">
{{#author}}
<img src="{{image}}" alt="{{name}}" />
<img src="{{img_url profile_image}}" alt="{{name}}" />
<div class="info">
<a href="{{url}}" class="name">{{name}}</a>
<p class="bio">{{bio}}</p>
Expand Down
2 changes: 1 addition & 1 deletion tag.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!< default}}

<header class="animated fadeIn" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<header class="animated fadeIn" {{#if @blog.cover_image}}style="background-image: url({{@blog.cover_image}})"{{/if}}>
<div class="container" data-stellar-ratio="0.75">
<div class="title animated fadeInUp">
<h1>{{tag.name}}</h1>
Expand Down