Skip to content

Commit

Permalink
Merge pull request #52 from koraylinux/master
Browse files Browse the repository at this point in the history
Made changes suggested by ghost
  • Loading branch information
kathyqian committed May 1, 2021
2 parents 6bba322 + 042df64 commit 0808cdd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions default.hbs
Expand Up @@ -24,18 +24,18 @@
{{ghost_head}}
</head>
<body class="{{body_class}}">
<header id="header" {{#if @blog.cover_image}}style="background-image: url('{{@blog.cover_image}}')"{{/if}}>
{{#if @blog.logo}}<a id="logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
<h1><a href="{{@blog.url}}">{{@blog.title}}</a></h1>
<p>{{@blog.description}}</p>
<header id="header" {{#if @site.cover_image}}style="background-image: url('{{@site.cover_image}}')"{{/if}}>
{{#if @site.logo}}<a id="logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>{{/if}}
<h1><a href="{{@site.url}}">{{@site.title}}</a></h1>
<p>{{@site.description}}</p>
{{> follow}}
{{navigation}}
</header>
<main id="content">
{{{body}}}
</main>
<footer id="footer">
<section id="footer-message">&copy; {{date format='YYYY'}} {{@blog.title}}. All rights reserved. Powered by <a href="http://ghost.org" target="_blank">Ghost</a>. <a href="https://github.com/kathyqian/crisp" target="_blank">Crisp</a> theme by <a href="http://kathyqian.com" target="_blank">Kathy Qian</a>.</section>
<section id="footer-message">&copy; {{date format='YYYY'}} {{@site.title}}. All rights reserved. Powered by <a href="http://ghost.org" target="_blank">Ghost</a>. <a href="https://github.com/kathyqian/crisp" target="_blank">Crisp</a> theme by <a href="http://kathyqian.com" target="_blank">Kathy Qian</a>.</section>
</footer>
{{ghost_foot}}
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion error.hbs
@@ -1,2 +1,2 @@
{{!< default}}
<h2>{{code}}: {{message}}</h2>
<h2>{{statusCode}}: {{message}}</h2>
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"description" : "A minimalist, responsive, and open-source theme for Ghost",
"version" : "1.0.0",
"engines": {
"ghost": ">=2.0.0"
"ghost-api": "v3"
},
"license": "MIT",
"screenshots": {
Expand Down
2 changes: 1 addition & 1 deletion partials/follow.hbs
Expand Up @@ -3,7 +3,7 @@
<a href="{{twitter_url}}" target="_blank"><i class="fa fa-twitter-square fa-2x"></i></a>
<a href="http://linkedin.com/in/username" target="_blank"><i class="fa fa-linkedin-square fa-2x"></i></a>
<a href="mailto:you@example.com" target="_blank"><i class="fa fa-envelope-square fa-2x"></i></a>
<a href="{{@blog.url}}/rss" target="_blank"><i class="fa fa-rss-square fa-2x"></i></a>
<a href="{{@site.url}}/rss" target="_blank"><i class="fa fa-rss-square fa-2x"></i></a>
</div>

<!--
Expand Down
2 changes: 1 addition & 1 deletion partials/share.hbs
Expand Up @@ -82,7 +82,7 @@
</li>
<li class="pinterest">
<script>
var imgurl = "{{@blog.url}}{{@blog.logo}}";
var imgurl = "{{@site.url}}{{@site.logo}}";
var firstimg = document.getElementsByClassName("{{post_class}}")[0].getElementsByTagName("img")[0];
if (firstimg !== undefined) {
imgurl = firstimg.src;
Expand Down

0 comments on commit 0808cdd

Please sign in to comment.