Skip to content

Commit a9ef180

Browse files
Fixed post list author and cta visbility issues
1 parent 80c374d commit a9ef180

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,9 +1412,14 @@ Search LOGO Login Subscribe
14121412
/* ---------------------------------------------------------- */
14131413

14141414
.gh-cta {
1415+
display: none;
14151416
margin-top: max(4vw, 40px);
14161417
}
14171418

1419+
.gh-header + .gh-cta {
1420+
display: block;
1421+
}
1422+
14181423
.gh-cta-inner {
14191424
position: relative;
14201425
overflow: hidden;

partials/components/post-list.hbs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,41 @@
2222
{{#match @custom.header_style "Highlight"}}
2323
{{#match posts.length ">=" 10}}
2424
{{#if @custom.highlight_featured_posts}}
25-
{{#get "posts" limit="16"}}
25+
{{#get "posts" include="authors" limit="16"}}
2626
{{#foreach posts from="5" limit="12"}}
2727
{{> "post-card"}}
2828
{{/foreach}}
2929
{{/get}}
3030
{{else}}
31-
{{#get "posts" limit="22"}}
31+
{{#get "posts" include="authors" limit="22"}}
3232
{{#foreach posts from="11" limit="12"}}
3333
{{> "post-card"}}
3434
{{/foreach}}
3535
{{/get}}
3636
{{/if}}
3737
{{else}}
38-
{{#get "posts" limit="12"}}
38+
{{#get "posts" include="authors" limit="12"}}
3939
{{#foreach posts}}
4040
{{> "post-card"}}
4141
{{/foreach}}
4242
{{/get}}
4343
{{/match}}
4444
{{else match @custom.header_style "Magazine"}}
4545
{{#match posts.length ">=" 7}}
46-
{{#get "posts" limit="19"}}
46+
{{#get "posts" include="authors" limit="19"}}
4747
{{#foreach posts from="8" limit="12"}}
4848
{{> "post-card"}}
4949
{{/foreach}}
5050
{{/get}}
5151
{{else}}
52-
{{#get "posts" limit="12"}}
52+
{{#get "posts" include="authors" limit="12"}}
5353
{{#foreach posts}}
5454
{{> "post-card"}}
5555
{{/foreach}}
5656
{{/get}}
5757
{{/match}}
5858
{{else}}
59-
{{#get "posts" limit="12"}}
59+
{{#get "posts" include="authors" limit="12"}}
6060
{{#foreach posts}}
6161
{{> "post-card"}}
6262
{{/foreach}}

0 commit comments

Comments
 (0)