From fe05756ea2e099333a4c9ddac4e766bbae817fbd Mon Sep 17 00:00:00 2001 From: Tomasz Dziuda Date: Tue, 7 Oct 2014 10:09:13 +0200 Subject: [PATCH] [v.1.3.0] Added support for Ghost 0.5.2 --- LICENSE | 0 README.md | 0 assets/css/main.css | 4 ++-- assets/css/normalize.css | 0 assets/fonts/perfetta-pixellove/ghost-perfetta.eot | Bin assets/fonts/perfetta-pixellove/ghost-perfetta.svg | 0 assets/fonts/perfetta-pixellove/ghost-perfetta.ttf | Bin assets/fonts/perfetta-pixellove/ghost-perfetta.woff | Bin assets/fonts/perfetta-pixellove/license.txt | 0 assets/images/bg-desktop.jpg | Bin assets/images/bg-mobile.jpg | Bin assets/images/bg-tablet.jpg | Bin assets/js/index.js | 6 +----- assets/js/jquery.fitvids.js | 0 author.hbs | 5 ++++- default.hbs | 0 index.hbs | 0 package.json | 2 +- page-full-width.hbs | 4 ++++ page.hbs | 4 ++++ partials/config.hbs | 0 partials/footer.hbs | 0 partials/logo.hbs | 0 partials/pagination.hbs | 0 post.hbs | 4 ++++ tag.hbs | 5 ++++- 26 files changed, 24 insertions(+), 10 deletions(-) mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 assets/css/main.css mode change 100644 => 100755 assets/css/normalize.css mode change 100644 => 100755 assets/fonts/perfetta-pixellove/ghost-perfetta.eot mode change 100644 => 100755 assets/fonts/perfetta-pixellove/ghost-perfetta.svg mode change 100644 => 100755 assets/fonts/perfetta-pixellove/ghost-perfetta.ttf mode change 100644 => 100755 assets/fonts/perfetta-pixellove/ghost-perfetta.woff mode change 100644 => 100755 assets/fonts/perfetta-pixellove/license.txt mode change 100644 => 100755 assets/images/bg-desktop.jpg mode change 100644 => 100755 assets/images/bg-mobile.jpg mode change 100644 => 100755 assets/images/bg-tablet.jpg mode change 100644 => 100755 assets/js/index.js mode change 100644 => 100755 assets/js/jquery.fitvids.js mode change 100644 => 100755 default.hbs mode change 100644 => 100755 index.hbs mode change 100644 => 100755 package.json mode change 100644 => 100755 page-full-width.hbs mode change 100644 => 100755 page.hbs mode change 100644 => 100755 partials/config.hbs mode change 100644 => 100755 partials/footer.hbs mode change 100644 => 100755 partials/logo.hbs mode change 100644 => 100755 partials/pagination.hbs mode change 100644 => 100755 post.hbs diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/assets/css/main.css b/assets/css/main.css old mode 100644 new mode 100755 index 16110ce..b6992f5 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,8 +1,8 @@ /*--------------------------------- Perfetta Ghost Theme by GavickPro - 09-08-2014 - v.1.2.0 + 07-10-2014 + v.1.3.0 - - - - - - - - - - - - - - - - - - diff --git a/assets/css/normalize.css b/assets/css/normalize.css old mode 100644 new mode 100755 diff --git a/assets/fonts/perfetta-pixellove/ghost-perfetta.eot b/assets/fonts/perfetta-pixellove/ghost-perfetta.eot old mode 100644 new mode 100755 diff --git a/assets/fonts/perfetta-pixellove/ghost-perfetta.svg b/assets/fonts/perfetta-pixellove/ghost-perfetta.svg old mode 100644 new mode 100755 diff --git a/assets/fonts/perfetta-pixellove/ghost-perfetta.ttf b/assets/fonts/perfetta-pixellove/ghost-perfetta.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/perfetta-pixellove/ghost-perfetta.woff b/assets/fonts/perfetta-pixellove/ghost-perfetta.woff old mode 100644 new mode 100755 diff --git a/assets/fonts/perfetta-pixellove/license.txt b/assets/fonts/perfetta-pixellove/license.txt old mode 100644 new mode 100755 diff --git a/assets/images/bg-desktop.jpg b/assets/images/bg-desktop.jpg old mode 100644 new mode 100755 diff --git a/assets/images/bg-mobile.jpg b/assets/images/bg-mobile.jpg old mode 100644 new mode 100755 diff --git a/assets/images/bg-tablet.jpg b/assets/images/bg-tablet.jpg old mode 100644 new mode 100755 diff --git a/assets/js/index.js b/assets/js/index.js old mode 100644 new mode 100755 index 6ed38e0..fbedf07 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -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); } } diff --git a/assets/js/jquery.fitvids.js b/assets/js/jquery.fitvids.js old mode 100644 new mode 100755 diff --git a/author.hbs b/author.hbs index 9cc41f7..798553d 100644 --- a/author.hbs +++ b/author.hbs @@ -24,7 +24,10 @@
- {{content words="0"}} + {{#if image}} + {{{title}}} + {{/if}} +

{{{title}}}

diff --git a/default.hbs b/default.hbs old mode 100644 new mode 100755 diff --git a/index.hbs b/index.hbs old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 index 5dc7762..b8b9ca0 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "Perfetta", - "version": "1.2.0" + "version": "1.3.0" } \ No newline at end of file diff --git a/page-full-width.hbs b/page-full-width.hbs old mode 100644 new mode 100755 index f4923d7..11e4928 --- a/page-full-width.hbs +++ b/page-full-width.hbs @@ -10,6 +10,10 @@
+ {{#if image}} + {{{title}}} + {{/if}} +

{{{title}}}

diff --git a/page.hbs b/page.hbs old mode 100644 new mode 100755 index 2cdec07..039388a --- a/page.hbs +++ b/page.hbs @@ -10,6 +10,10 @@
+ {{#if image}} + {{{title}}} + {{/if}} +

{{{title}}}

diff --git a/partials/config.hbs b/partials/config.hbs old mode 100644 new mode 100755 diff --git a/partials/footer.hbs b/partials/footer.hbs old mode 100644 new mode 100755 diff --git a/partials/logo.hbs b/partials/logo.hbs old mode 100644 new mode 100755 diff --git a/partials/pagination.hbs b/partials/pagination.hbs old mode 100644 new mode 100755 diff --git a/post.hbs b/post.hbs old mode 100644 new mode 100755 index 5d55343..1916ab6 --- a/post.hbs +++ b/post.hbs @@ -10,6 +10,10 @@
+ {{#if image}} + {{{title}}} + {{/if}} +

{{{title}}}

diff --git a/tag.hbs b/tag.hbs index 334fabb..6778a29 100755 --- a/tag.hbs +++ b/tag.hbs @@ -13,7 +13,10 @@
- {{content words="0"}} + {{#if image}} + {{{title}}} + {{/if}} +

{{{title}}}