Permalink
Browse files

remove warnings when upload theme

  • Loading branch information...
JixunMoe committed Jun 22, 2017
1 parent 704f9fb commit 653220698616c60bf8452ed065a25941e0c59908
Showing with 19 additions and 17 deletions.
  1. +3 −0 .gitignore
  2. +10 −10 affinity/default.hbs
  3. +1 −3 affinity/partials/loop.hbs
  4. +2 −2 affinity/post.hbs
  5. +1 −1 package.json
  6. +2 −1 src/js/init.js
@@ -14,3 +14,6 @@ affinity/README.md
affinity/package.json
affinity/assets/*.min.js
affinity/assets/*.min.css

casper

@@ -2,21 +2,21 @@
<html>
<head>
{{!-- Document Settings --}}
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<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}}" />
<title>{{meta_title}}</title>

{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
{{!-- Brand icon --}}
<link rel="shortcut icon" href="{{asset "/favicon.ico"}}">
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "affinity.min.css"}}" />
<link rel="stylesheet" type="text/css" href="{{asset "affinity.min.css"}}" />

{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<section class="section">
@@ -3,9 +3,7 @@
{{#foreach posts}}
<article class="content-card {{post_class}}">
<div class="card">
<a href="{{url}}" class="card-image {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<!-- {{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
{{author}} -->
<a href="{{url}}" class="card-image {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}no-cover{{/if}}">
</a>
<header class="card-header">
<div class="card-title">
@@ -18,10 +18,10 @@
<div class="content-post-author">
{{#author}}
<div class="tile">
{{#if image}}
{{#if profile_image}}
<div class="tile-icon">
<figure class="avatar avatar-lg">
<img src="{{image}}" />
<img src="{{profile_image}}" />
</figure>
</div>
{{/if}}
@@ -39,7 +39,7 @@
"theme"
],
"license": "MIT",
"name": "Affinity",
"name": "affinity",
"repository": {
"type": "git",
"url": "https://github.com/Showfom/Affinity.git"
@@ -26,7 +26,8 @@
*/
var _default = {
tocName: 'Contents',
tocComments: 'Comments'
tocComments: 'Comments',
defCoverImage: ''
};

/**

0 comments on commit 6532206

Please sign in to comment.