Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropping ghost 0.11.x support #14

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
### Use it by cloning
```
$ git clone https://github.com/if-Team/origami.git
$ git submodule init
$ git submodule update --recursive
$ npm install
$ npm run build --production
Expand Down
8 changes: 2 additions & 6 deletions author.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@
{{#author}}
<header
class="main-header author-head"
style="background-image: url({{#if cover}}{{cover}}{{else if cover_image}}{{cover_image}}{{else}}../../ghost/img/user-cover.png{{/if}})">
style="background-image: url({{#if cover_image}}{{cover_image}}{{else}}../../ghost/img/user-cover.png{{/if}})">
</header>

<section class="author-profile">
{{#if image}}
<figure class="author-image">
<div class="img" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></div>
</figure>
{{else if profile_image}}
{{#if profile_image}}
<figure class="author-image">
<div class="img" style="background-image: url({{profile_image}})"><span class="hidden">{{name}}'s Picture</span></div>
</figure>
Expand Down
3 changes: 1 addition & 2 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}

{{!-- The big featured header --}}
<header class="main-header {{#if @blog.cover}}"
style="background-image: url({{@blog.cover}}){{else if @blog.cover_image}}"
<header class="main-header {{#if @blog.cover_image}}"
style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
<!-- <nav class="main-nav overlay clearfix">
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
Expand Down
Loading