Skip to content

Commit

Permalink
Update 2017.08.20
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
xiaoluoboding committed Aug 19, 2017
1 parent 5b40cdc commit 6bd2e63
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 23 deletions.
6 changes: 0 additions & 6 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1141,12 +1141,6 @@ body.nav-opened .site-wrapper {
text-decoration: none;
}

/* Turn off meta for page2+ to make room for extra
pagination prev/next links */

.archive-template .author-profile .author-meta {
display: none;
}

/* ==========================================================================
7. Read More - Next/Prev Post Links
Expand Down
1 change: 0 additions & 1 deletion default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />{{! 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" />
Expand Down
1 change: 0 additions & 1 deletion index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{{! 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}}no-cover{{/if}}"> -->
<header class="main-header">
<nav class="container main-nav clearfix">
<div class="main-nav-title pull-left">
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "kaldorei",
"description": "A Simple And Elegant Ghost Theme Derive From Default Theme Casper",
"homepage": "https://github.com/xiaoluoboding/ghost-theme-kaldorei",
"version": "0.8.0",
"version": "1.0.0",
"author": {
"name": "xiaoluoboding",
"email": "[email protected]",
"url": "https://github.com/xiaoluoboding"
},
"repository": {
Expand All @@ -22,7 +23,11 @@
"kaldorei"
],
"engines": {
"ghost": ">=1.0.0",
"node": ">= 4"
},
"license": "MIT"
"license": "MIT",
"config": {
"posts_per_page": 5
}
}
5 changes: 0 additions & 5 deletions page.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{{!< default}}

{{! This is a page template. A page outputs content just like any other post, and has all the same
attributes by default, but you can also customise it to behave differently if you prefer. }}

{{! Everything inside the #post tags pulls data from the page }}
{{#post}}

<header class="main-header">
Expand Down
6 changes: 3 additions & 3 deletions partials/author_info.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{! 作者信息 }}
{{#author}}
<div class="widget widget-profile">
<div class="widget-profile-cover overlay {{#if cover}}" style="background-image: url({{cover}}){{else}}no-cover{{/if}}"></div>
<div class="widget-profile-cover overlay {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}"></div>
<div class="widget-profile-header">
<a class="widget-profile-logo" href="{{url}}">
{{#if image}}
<img src="{{image}}" alt="{{@blog.title}}" />
{{#if profile_image}}
<img src="{{img_url profile_image}}" alt="{{@blog.title}}" />
{{else}}
<img src="{{asset "img/user-image.png"}}" alt="{{@blog.title}}" />
{{/if}}
Expand Down
2 changes: 0 additions & 2 deletions partials/loop.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
<p>{{excerpt words="26"}} ... </p>
</section>
<footer class="post-meta">
<!-- {{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}} -->
<!-- {{tags prefix=" on "}} -->
<span class="post-meta-item post-meta-author">
<i class="fa fa-user"></i>
{{author}}
Expand Down
4 changes: 2 additions & 2 deletions partials/post_author.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{! Everything inside the #author tags pulls data from the author }}
{{#author}}
{{#if image}}
{{#if profile_image}}
<figure class="author-image">
<a class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
<a class="img" href="{{url}}" style="background-image: url({{img_url profile_image}})"><span class="hidden">{{name}}'s Picture</span></a>
</figure>
{{/if}}
{{/author}}
Expand Down
2 changes: 1 addition & 1 deletion partials/profile.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{! 站点信息 }}
<div class="widget widget-profile">
<div class="widget-profile-cover overlay {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}"></div>
<div class="widget-profile-cover overlay {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}"></div>
<div class="widget-profile-header">
<a class="widget-profile-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
Expand Down

0 comments on commit 6bd2e63

Please sign in to comment.