Browse Source

updates for ghost 1.*

master
Julian Ćwirko 7 years ago
parent
commit
d48f9f7ed1
  1. 12
      README.md
  2. 6
      author.hbs
  3. 3
      default.hbs
  4. 2
      index.hbs
  5. 11
      package.json
  6. 2
      page.hbs
  7. 2
      partials/loop.hbs
  8. 10
      post.hbs
  9. 2
      tag.hbs

12
README.md

@ -57,13 +57,17 @@ Just use standard Ghost admin panel settings.
#### Check out my other themes:
- [Anima](http://themeforest.net/item/anima-multipurpose-ghost-theme/9601972?ref=pxThemes): <br> <a href="http://themeforest.net/item/anima-multipurpose-ghost-theme/9601972?ref=pxThemes"><img src="https://image-tf.s3.envato.com/files/155658086/preview_590x300.__large_preview.jpg" /></a>
- [Summer](http://themeforest.net/item/summer-simple-and-clean-ghost-theme/8181353?ref=pxThemes): <br> <a href="http://themeforest.net/item/summer-simple-and-clean-ghost-theme/8181353?ref=pxThemes"><img src="https://image-tf.s3.envato.com/files/155915583/preview_590x300.__large_preview.png" /></a>
- [Artee](http://themeforest.net/item/artee-portfolio-ghost-theme/7223054?ref=pxThemes): <br> <a href="http://themeforest.net/item/artee-portfolio-ghost-theme/7223054?ref=pxThemes"><img src="https://image-tf.s3.envato.com/files/156182816/preview_590x300.__large_preview.png" /></a>
- [Trek](http://themeforest.net/item/trek-responsive-ghost-theme/6521607?ref=pxThemes): <br> <a href="http://themeforest.net/item/trek-responsive-ghost-theme/6521607?ref=pxThemes"><img src="https://image-tf.s3.envato.com/files/167525392/preview_590x300.__large_preview.jpg" /></a>
- [Anima](http://themeforest.net/item/anima-multipurpose-ghost-theme/9601972?ref=pxThemes): <br> <a href="http://themeforest.net/item/anima-multipurpose-ghost-theme/9601972?ref=pxThemes"><img src="https://s3.envato.com/files/238526357/preview_590x300.__large_preview.jpg" /></a>
- [Summer](http://themeforest.net/item/summer-simple-and-clean-ghost-theme/8181353?ref=pxThemes): <br> <a href="http://themeforest.net/item/summer-simple-and-clean-ghost-theme/8181353?ref=pxThemes"><img src="https://s3.envato.com/files/171236846/preview_590x300.__large_preview.png" /></a>
- [Artee](http://themeforest.net/item/artee-portfolio-ghost-theme/7223054?ref=pxThemes): <br> <a href="http://themeforest.net/item/artee-portfolio-ghost-theme/7223054?ref=pxThemes"><img src="https://s3.envato.com/files/238904029/preview_590x300.__large_preview.png" /></a>
- [Trek](http://themeforest.net/item/trek-responsive-ghost-theme/6521607?ref=pxThemes): <br> <a href="http://themeforest.net/item/trek-responsive-ghost-theme/6521607?ref=pxThemes"><img src="https://s3.envato.com/files/239113529/preview_590x300.__large_preview.jpg" /></a>
#### Changelog
##### 2.0.0 (14.01.2018)
- updates for Ghost 1.*
##### 1.5.2 (03.10.2015)
- jQuery added (Ghost 0.7.* adjustments)

6
author.hbs

@ -9,11 +9,11 @@
</a>
{{> "menu-activator-icon"}}
</nav>
<header class="main-header js-blog-bg-image {{#if cover}}" style="background-image: url({{cover}}){{else}}no-cover{{/if}}">
<header class="main-header js-blog-bg-image {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}">
<div class="main-header-content">
{{#if image}}
{{#if profile_image}}
<div class="author-logo-container">
<img src="{{image}}" alt="{{name}}">
<img src="{{img_url profile_image}}" alt="{{name}}">
</div>
{{/if}}
<h1 class="author-title js-bg-check">

3
default.hbs

@ -6,7 +6,6 @@
{{! Page Meta }}
<title>{{meta_title}}</title>
<meta name="description" content="{{meta_description}}">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -15,7 +14,7 @@
{{! Styles - Foundation 5 included}}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic">
{{!-- styles for syntax highlighter you will find more here: https://github.com/isagalaev/highlight.js/tree/master/src/styles just change .min.css file name below --}}

2
index.hbs

@ -6,7 +6,7 @@
{{> "menu-activator-icon"}}
</nav>
<header class="main-header js-blog-bg-image {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
<header class="main-header js-blog-bg-image {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
<div class="main-header-content">
{{#if @blog.logo}}
<div class="post-logo-container">

11
package.json

@ -1,6 +1,13 @@
{
"name": "Abc",
"version": "1.5.2",
"name": "abc",
"version": "2.0.0",
"author": {
"name": "Julian Ćwirko",
"email": "julian.cwirko@gmail.com"
},
"config": {
"posts_per_page": 6
},
"devDependencies": {
"load-grunt-tasks": "~3.3.0",
"node-sass": "~3.3.3",

2
page.hbs

@ -9,7 +9,7 @@
</a>
{{> "menu-activator-icon"}}
</nav>
<header class="post-view-header js-blog-bg-image {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<header class="post-view-header js-blog-bg-image {{#if feature_image}}" style="background-image: url({{img_url feature_image}}){{else}}no-cover{{/if}}">
<div class="post-header-content">
<h1 class="post-title js-bg-check">{{title}}</h1>
</div>

2
partials/loop.hbs

@ -6,7 +6,7 @@
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
</header>
<footer class="post-meta">
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}
{{#if author.profile_image}}<img class="author-thumb" src="{{author.profile_image}}" alt="Author image" nopin="nopin" />{{/if}}
{{author}}
{{tags prefix=" on "}}
</footer>

10
post.hbs

@ -12,7 +12,7 @@
</a>
{{> "menu-activator-icon"}}
</nav>
<header class="post-view-header js-blog-bg-image {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<header class="post-view-header js-blog-bg-image {{#if feature_image}}" style="background-image: url({{img_url feature_image}}){{else}}no-cover{{/if}}">
<div class="post-header-content">
<h1 class="post-title js-bg-check">{{title}}</h1>
<section class="post-meta js-bg-check">
@ -56,7 +56,7 @@
<div class="row post-prev-next-pagination">
<div class="prev small-6 columns text-left">
{{#prev_post}}
{{!-- you can use here {{image}} too --}}
{{!-- you can use here {{img_url feature_image}} too --}}
<div class="prev-next-label">
<a href="{{url}}">
<i class="fa fa-angle-double-left"></i> Previous
@ -69,7 +69,7 @@
</div>
<div class="next small-6 columns text-right">
{{#next_post}}
{{!-- you can use here {{image}} too --}}
{{!-- you can use here {{img_url feature_image}} too --}}
<div class="prev-next-label">
<a href="{{url}}">
Next <i class="fa fa-angle-double-right"></i>
@ -87,8 +87,8 @@
<section class="author-info">
<div class="row">
<section class="post-author small-12 columns">
{{#if image}}
<img src="{{image}}" class="post-author-avatar" alt="{{name}}">
{{#if profile_image}}
<img src="{{img_url profile_image}}" class="post-author-avatar" alt="{{name}}">
{{/if}}
{{#if name}}
<span class="author-label">Author</span>

2
tag.hbs

@ -8,7 +8,7 @@
</a>
{{> "menu-activator-icon"}}
</nav>
<header class="main-header js-blog-bg-image {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}no-cover{{/if}}">
<header class="main-header js-blog-bg-image {{#if tag.feature_image}}" style="background-image: url({{tag.feature_image}}){{else}}no-cover{{/if}}">
<div class="main-header-content">
{{#if @blog.logo}}
<div class="post-logo-container">

Loading…
Cancel
Save