Migrated from @blog -> @site
no issue
- This rename is due to new {{@site}} alias introduced in Ghost (dd1cf5ffc7
) as {{@blog}} variable is deprecated now, and will be removed in v3
This commit is contained in:
parent
7a09d5ad9f
commit
20ac61fb15
4 changed files with 14 additions and 14 deletions
18
default.hbs
18
default.hbs
|
@ -28,21 +28,21 @@
|
|||
{{navigation}}
|
||||
</nav>
|
||||
<div class="site-head-center">
|
||||
{{#if @blog.logo}}
|
||||
<a class="site-head-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
|
||||
{{#if @site.logo}}
|
||||
<a class="site-head-logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
|
||||
{{else}}
|
||||
<a class="site-head-logo" href="{{@blog.url}}">{{@blog.title}}</a>
|
||||
<a class="site-head-logo" href="{{@site.url}}">{{@site.title}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="site-head-right">
|
||||
<div class="social-links">
|
||||
{{#if @blog.facebook}}
|
||||
<a href="{{facebook_url @blog.facebook}}" title="Facebook" target="_blank" rel="noopener">Facebook</a>
|
||||
{{#if @site.facebook}}
|
||||
<a href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="noopener">Facebook</a>
|
||||
{{/if}}
|
||||
{{#if @blog.twitter}}
|
||||
<a href="{{twitter_url @blog.twitter}}" title="Twitter" target="_blank" rel="noopener">Twitter</a>
|
||||
{{#if @site.twitter}}
|
||||
<a href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">Twitter</a>
|
||||
{{/if}}
|
||||
<a href="https://feedly.com/i/subscription/feed/{{@blog.url}}/rss/" title="RSS" target="_blank" rel="noopener">RSS</a>
|
||||
<a href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">RSS</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -57,7 +57,7 @@
|
|||
|
||||
{{!-- The footer at the very bottom of the screen --}}
|
||||
<footer class="site-foot">
|
||||
© {{date format="YYYY"}} <a href="{{@blog.url}}">{{@blog.title}}</a> — Published with <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
|
||||
© {{date format="YYYY"}} <a href="{{@site.url}}">{{@site.title}}</a> — Published with <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue