{{!-- Header --}}
<header id="header">
- {{#if @blog.logo}}
- <a href="{{@blog.url}}" class="logo image"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
+ {{#if @site.logo}}
+ <a href="{{@site.url}}" class="logo image"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
{{else}}
- <a href="{{@blog.url}}" class="logo">{{@blog.title}}</a>
+ <a href="{{@site.url}}" class="logo">{{@site.title}}</a>
{{/if}}
<ul class="icons">
- {{#if @blog.twitter}}
- <li><a href="{{twitter_url @blog.facebook}}" class="icon fa-twitter" title="Twitter"><span class="label">Twitter</span></a></li>
+ {{#if @site.twitter}}
+ <li><a href="{{twitter_url @site.facebook}}" class="icon fa-twitter" title="Twitter"><span class="label">Twitter</span></a></li>
{{/if}}
- {{#if @blog.facebook}}
- <li><a href="{{facebook_url @blog.facebook}}" class="icon fa-facebook" title="Facebook"><span class="label">Facebook</span></a></li>
+ {{#if @site.facebook}}
+ <li><a href="{{facebook_url @site.facebook}}" class="icon fa-facebook" title="Facebook"><span class="label">Facebook</span></a></li>
{{/if}}
- <li><a href="https://feedly.com/i/subscription/feed/{{@blog.url}}/rss/" class="icon fa-rss" target="_blank" rel="noopener"><span class="label" title="RSS">RSS</span></a></li>
+ <li><a href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" class="icon fa-rss" target="_blank" rel="noopener"><span class="label" title="RSS">RSS</span></a></li>
</ul>
</header>
<div class="error-page inner">
<header id="header">
- {{#if @blog.logo}}
- <a href="{{@blog.url}}" class="logo image"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
+ {{#if @site.logo}}
+ <a href="{{@site.url}}" class="logo image"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
{{else}}
- <a href="{{@blog.url}}" class="logo">{{@blog.title}}</a>
+ <a href="{{@site.url}}" class="logo">{{@site.title}}</a>
{{/if}}
<ul class="icons">
- {{#if @blog.twitter}}
- <li><a href="{{twitter_url @blog.facebook}}" class="icon fa-twitter" title="Twitter"><span class="label">Twitter</span></a></li>
+ {{#if @site.twitter}}
+ <li><a href="{{twitter_url @site.facebook}}" class="icon fa-twitter" title="Twitter"><span class="label">Twitter</span></a></li>
{{/if}}
- {{#if @blog.facebook}}
- <li><a href="{{facebook_url @blog.facebook}}" class="icon fa-facebook" title="Facebook"><span class="label">Facebook</span></a></li>
+ {{#if @site.facebook}}
+ <li><a href="{{facebook_url @site.facebook}}" class="icon fa-facebook" title="Facebook"><span class="label">Facebook</span></a></li>
{{/if}}
- <li><a href="https://feedly.com/i/subscription/feed/{{@blog.url}}/rss/" class="icon fa-rss" target="_blank" rel="noopener"><span
+ <li><a href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" class="icon fa-rss" target="_blank" rel="noopener"><span
class="label" title="RSS">RSS</span></a></li>
</ul>
</header>
<section class="error-message">
<h1 class="error-code">{{code}}</h1>
<p class="error-description">{{message}}</p>
- <a class="error-link" href="{{@blog.url}}">Go to the front page →</a>
+ <a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</section>
{{#if errorDetails}}
<div class="inner">
{{!-- Nav - partials/navigation.hbs --}}
- {{#if @blog.navigation}}
+ {{#if @site.navigation}}
{{navigation}}
{{/if}}
{{!-- Footer --}}
<footer id="footer">
- <p class="copyright">© {{@blog.title}} - All rights reserved<br>
+ <p class="copyright">© {{@site.title}} - All rights reserved<br>
Design: <a href="https://html5up.net" target="_blank" rel="noopener">HTML5 UP</a>, Published with <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></p>
</footer>
</div>
-</div>
\ No newline at end of file
+</div>
{{!-- Email subscribe form at the bottom of the page --}}
{{#if @labs.subscribers}}
<section class="subscribe-form">
- <h3 class="subscribe-form-title">Subscribe to {{@blog.title}}</h3>
+ <h3 class="subscribe-form-title">Subscribe to {{@site.title}}</h3>
<p>Get the latest posts delivered right to your inbox</p>
{{subscribe_form placeholder="youremail@example.com"}}
</section>
var ratio = width / height;
container.style.flex = ratio + ' 1 0%';
})
-</script>
\ No newline at end of file
+</script>