v0.1.14 관리자 버튼 및 태그 칩 수정
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
<a class="category-chip" href="{{url}}"{{#if accent_color}} style="--tag-accent: {{accent_color}};"{{/if}}>
|
||||
<span class="category-chip__dot"></span>
|
||||
<span class="category-chip__label">{{name}}</span>
|
||||
<span class="category-chip__count">{{count.posts}}</span>
|
||||
</a>
|
||||
{{/foreach}}
|
||||
{{/get}}
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
</div>
|
||||
<div class="topbar__actions">
|
||||
<button class="icon-button icon-button--search-mobile" type="button" data-search-open aria-label="Open search">⌕</button>
|
||||
{{#if @member}}
|
||||
<a class="button button--accent" href="#/portal/account">Account</a>
|
||||
<a class="icon-button icon-button--profile" href="#/portal/account" aria-label="Account"><span></span></a>
|
||||
{{else}}
|
||||
<a class="button button--accent" href="#/portal/signup">Buy {{@site.title}}</a>
|
||||
<a class="icon-button icon-button--profile" href="#/portal/signin" aria-label="Sign in"><span></span></a>
|
||||
{{#if @custom.show_admin_link}}
|
||||
<a class="button button--accent" href="/ghost/">Admin</a>
|
||||
<a class="icon-button icon-button--profile" href="/ghost/" aria-label="Ghost admin"><span></span></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user