Bug fixes

This commit is contained in:
Sodbileg Gansukh
2023-08-07 19:58:36 +08:00
parent 57fcc2ce3e
commit d64ced927f
7 changed files with 94 additions and 62 deletions

View File

@@ -1,5 +1,5 @@
{{#match headerStyle "!=" "Off"}}
<section class="gh-header is-{{#match headerStyle "Magazine"}}magazine{{else match headerStyle "Highlight"}}highlight{{else}}classic{{/match}}{{#if @custom.use_publication_cover_as_background}} has-image{{/if}} gh-outer">
<section class="gh-header is-{{#match headerStyle "Magazine"}}magazine{{else match headerStyle "Highlight"}}highlight{{else}}classic{{/match}}{{#if @custom.use_publication_cover_as_background}}{{#if @site.cover_image}} has-image{{/if}}{{/if}} gh-outer">
{{!-- Background image --}}
{{#if @custom.use_publication_cover_as_background}}
@@ -55,7 +55,7 @@
{{!-- Landing layout --}}
{{#match headerStyle "Landing"}}
<h1 class="gh-header-title is-title">Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
<form class="gh-header-form">
<input class="gh-header-input" type="email" placeholder="jamie@example.com">
<button class="gh-button" type="submit">Subscribe</button>
@@ -64,7 +64,7 @@
{{!-- Search layout --}}
{{#match headerStyle "Search"}}
<h1 class="gh-header-title is-title">Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
<form class="gh-header-form">
{{> "icons/search"}}
<button class="gh-header-input" data-ghost-search>Search posts, tags and authors</button>

View File

@@ -40,9 +40,11 @@
</aside>
{{/if}}
<div class="gh-more is-title">
<a href="/page/2">See all →</a>
</div>
{{#match pagination.pages ">" 1}}
<div class="gh-more is-title">
<a href="/page/2">See all →</a>
</div>
{{/match}}
</div>
</section>