Renamed loop partial
This commit is contained in:
parent
59eaa0663c
commit
86d501e32b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -51,14 +51,14 @@ X. Footer
|
||||
|
||||
:root {
|
||||
--color-white: #fff;
|
||||
--color-lighter-gray: #f6f6f6;
|
||||
--color-lighter-gray: rgba(0,0,0,0.05);
|
||||
--color-light-gray: #e6e6e6;
|
||||
--color-mid-gray: #ccc;
|
||||
--color-dark-gray: #444;
|
||||
--color-darker-gray: #15171a;
|
||||
--color-black: #000;
|
||||
--color-primary-text: var(--color-darker-gray);
|
||||
--color-secondary-text: rgba(0, 0, 0, 0.4);
|
||||
--color-secondary-text: rgba(0,0,0,0.4);
|
||||
--color-border: rgba(0, 0, 0, 0.08);
|
||||
--font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
--font-serif: "EB Garamond", Georgia, Times, serif;
|
||||
@ -71,10 +71,10 @@ X. Footer
|
||||
|
||||
:root.has-light-text,
|
||||
:is(.gh-navigation, .gh-footer).has-accent-color {
|
||||
--color-lighter-gray: rgba(0, 0, 0, 0.15);
|
||||
--color-lighter-gray: rgba(0,0,0,0.15);
|
||||
--color-darker-gray: #fff;
|
||||
--color-secondary-text: rgba(255, 255, 255, 0.64);
|
||||
--color-border: rgba(255, 255, 255, 0.15);
|
||||
--color-secondary-text: rgba(255,255,255,0.64);
|
||||
--color-border: rgba(255,255,255,0.15);
|
||||
}
|
||||
|
||||
/* 2. Fonts
|
||||
|
@ -42,7 +42,7 @@
|
||||
<main class="gh-main">
|
||||
<div class="gh-feed">
|
||||
{{#foreach posts}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</main>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<h2 class="gh-featured-title">Featured</h2>
|
||||
<div class="gh-featured-feed">
|
||||
{{#foreach featured}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -23,7 +23,7 @@
|
||||
{{#match @number 5}}
|
||||
<div class="gh-header-right">
|
||||
{{/match}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{#match @number 4}}
|
||||
</div>
|
||||
{{/match}}
|
||||
@ -38,7 +38,7 @@
|
||||
{{#if @custom.show_featured}}
|
||||
<div class="gh-header-left">
|
||||
{{#foreach posts limit="4"}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
<div class="gh-header-right">
|
||||
@ -46,7 +46,7 @@
|
||||
</div>
|
||||
{{else}}
|
||||
{{#foreach posts limit="4"}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
{{/match}}
|
||||
|
@ -6,7 +6,7 @@
|
||||
<main class="gh-main">
|
||||
<div class="gh-feed">
|
||||
{{#foreach posts from="8" limit="9"}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</main>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="gh-feed">
|
||||
{{#get "posts" include="authors" filter="id:-{{post.id}}" limit="3" as |next|}}
|
||||
{{#foreach next}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/get}}
|
||||
</div>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<main class="gh-main">
|
||||
<div class="gh-feed">
|
||||
{{#foreach posts}}
|
||||
{{> "loop"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user