Changing settings to use the new @blog global
This commit is contained in:
parent
24f12d1656
commit
dc89697827
3 changed files with 13 additions and 12 deletions
|
@ -6,8 +6,8 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
|
|
||||||
{{! Page Meta }}
|
{{! Page Meta }}
|
||||||
<title>{{settings.title}}</title>
|
<title>{{@blog.title}}</title>
|
||||||
<meta name="description" content="{{settings.description}}" />
|
<meta name="description" content="{{@blog.description}}" />
|
||||||
|
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
<meta name="MobileOptimized" content="320">
|
<meta name="MobileOptimized" content="320">
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<a class="subscribe icon-feed" href="#"><span class="tooltip">Subscribe!</span></a>
|
<a class="subscribe icon-feed" href="#"><span class="tooltip">Subscribe!</span></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<section class="copyright">All content copyright <a href="/">{{settings.title}}</a> © 2013 • All rights reserved.</section>
|
<section class="copyright">All content copyright <a href="/">{{@blog.title}}</a> © 2013 • All rights reserved.</section>
|
||||||
<section class="poweredby">Proudly published with <a class="icon-ghost" href="http://tryghost.org">Ghost</a></section>
|
<section class="poweredby">Proudly published with <a class="icon-ghost" href="http://tryghost.org">Ghost</a></section>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -7,9 +7,10 @@
|
||||||
<header id="site-head" {{! style="background-image: url()" }}>
|
<header id="site-head" {{! style="background-image: url()" }}>
|
||||||
<div class="vertical">
|
<div class="vertical">
|
||||||
<div id="site-head-content" class="inner">
|
<div id="site-head-content" class="inner">
|
||||||
{{#if settings.logo}}<a id="blog-logo" href="{{settings.url}}"><img src="{{settings.logo}}" alt="Blog Logo" /></a>{{/if}}
|
|
||||||
<h1 class="blog-title">{{settings.title}}</h1>
|
{{#if @blog.logo}}<a id="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
||||||
<h2 class="blog-description">{{settings.description}}</h2>
|
<h1 class="blog-title">{{@blog.title}}</h1>
|
||||||
|
<h2 class="blog-description">{{@blog.description}}</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
12
post.hbs
12
post.hbs
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
{{! Each post has the blog logo at the top, with a link back to the home page }}
|
{{! Each post has the blog logo at the top, with a link back to the home page }}
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<a id="blog-logo" href="{{settings.url}}">
|
<a id="blog-logo" href="{{@blog.url}}">
|
||||||
{{#if settings.logo}}
|
{{#if @blog.logo}}
|
||||||
<img src="{{settings.logo}}" alt="Blog Logo" />
|
<img src="{{@blog.logo}}" alt="Blog Logo" />
|
||||||
{{else}}
|
{{else}}
|
||||||
{{settings.title}}
|
{{@blog.title}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
<section class="share">
|
<section class="share">
|
||||||
<h4>Share this post</h4>
|
<h4>Share this post</h4>
|
||||||
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{settings.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
|
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{@blog.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
|
||||||
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{settings.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
|
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{@blog.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
|
||||||
<a class="icon-google-plus" href="#"><span class="hidden">Twitter</span></a>
|
<a class="icon-google-plus" href="#"><span class="hidden">Twitter</span></a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue