Skip to content

Commit

Permalink
[v.1.3.0] Added support for Ghost 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Oct 7, 2014
1 parent bdb1831 commit fe05756
Show file tree
Hide file tree
Showing 26 changed files with 24 additions and 10 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions assets/css/main.css
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*---------------------------------
Perfetta Ghost Theme by GavickPro
09-08-2014
v.1.2.0
07-10-2014
v.1.3.0
- - - - - - - - - - - - - - - - - -
Expand Down
Empty file modified assets/css/normalize.css
100644 → 100755
Empty file.
Empty file modified assets/fonts/perfetta-pixellove/ghost-perfetta.eot
100644 → 100755
Empty file.
Empty file modified assets/fonts/perfetta-pixellove/ghost-perfetta.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/fonts/perfetta-pixellove/ghost-perfetta.ttf
100644 → 100755
Empty file.
Empty file modified assets/fonts/perfetta-pixellove/ghost-perfetta.woff
100644 → 100755
Empty file.
Empty file modified assets/fonts/perfetta-pixellove/license.txt
100644 → 100755
Empty file.
Empty file modified assets/images/bg-desktop.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/bg-mobile.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/bg-tablet.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions assets/js/index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
}, 500);
// move main image to header
if($('#post-page').length > 0) {
var featured_image = $('img[alt="featured-image"]');
var featured_video = $('.post-content iframe:first-child')
// check if the featured image exists
if(featured_image && featured_image.length > 0) {
// create container for the image
$('.post-header h2').before(featured_image);
} else if(featured_video && featured_video.length > 0) {
if(featured_video && featured_video.length > 0) {
$('.post-header h2').before(featured_video);
}
}
Expand Down
Empty file modified assets/js/jquery.fitvids.js
100644 → 100755
Empty file.
5 changes: 4 additions & 1 deletion author.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
<article class="{{post_class}}" data-scroll-reveal="enter bottom">
<div>
<header class="post-header">
{{content words="0"}}
{{#if image}}
<img src="{{image}}" alt="{{{title}}}" />
{{/if}}

<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
Expand Down
Empty file modified default.hbs
100644 → 100755
Empty file.
Empty file modified index.hbs
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Perfetta",
"version": "1.2.0"
"version": "1.3.0"
}
4 changes: 4 additions & 0 deletions page-full-width.hbs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<div>
<header class="post-header">
{{#if image}}
<img src="{{image}}" alt="{{{title}}}" />
{{/if}}

<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
Expand Down
4 changes: 4 additions & 0 deletions page.hbs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<div>
<header class="post-header">
{{#if image}}
<img src="{{image}}" alt="{{{title}}}" />
{{/if}}

<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
Expand Down
Empty file modified partials/config.hbs
100644 → 100755
Empty file.
Empty file modified partials/footer.hbs
100644 → 100755
Empty file.
Empty file modified partials/logo.hbs
100644 → 100755
Empty file.
Empty file modified partials/pagination.hbs
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions post.hbs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<div>
<header class="post-header">
{{#if image}}
<img src="{{image}}" alt="{{{title}}}" />
{{/if}}

<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
Expand Down
5 changes: 4 additions & 1 deletion tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
<article class="{{post_class}}" data-scroll-reveal="enter bottom">
<div>
<header class="post-header">
{{content words="0"}}
{{#if image}}
<img src="{{image}}" alt="{{{title}}}" />
{{/if}}

<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
Expand Down

0 comments on commit fe05756

Please sign in to comment.