Skip to content

Commit 291f28b

Browse files
committed
chore(upstream): merge TryGhost/Ghost up to 36e886a
2 parents fedfb03 + 36e886a commit 291f28b

File tree

6 files changed

+1301
-784
lines changed

6 files changed

+1301
-784
lines changed

assets/css/screen.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,6 +2179,10 @@ html.dark-mode .site-header-content {
21792179
color: #fff;
21802180
}
21812181

2182+
html.dark-mode .site-header-cover {
2183+
opacity: 1;
2184+
}
2185+
21822186
html.dark-mode .post-card-image {
21832187
background: var(--color-darkmode);
21842188
}
@@ -2328,6 +2332,12 @@ html.dark-mode .kg-header-card h3.kg-header-card-subheader {
23282332
color: #fff;
23292333
}
23302334

2335+
html.dark-mode .kg-bookmark-card a.kg-bookmark-container,
2336+
html.dark-mode .kg-bookmark-card a.kg-bookmark-container:hover {
2337+
background: var(--color-darkmode) !important;
2338+
color: #fff !important;
2339+
}
2340+
23312341
html.dark-mode .footer-cta-title {
23322342
color: #fff;
23332343
}
@@ -2371,6 +2381,10 @@ html.dark-mode .footer-cta-title {
23712381
color: #fff;
23722382
}
23732383

2384+
html.auto-color .site-header-cover {
2385+
opacity: 1;
2386+
}
2387+
23742388
html.auto-color .post-card-image {
23752389
background: var(--color-darkmode);
23762390
}
@@ -2520,6 +2534,12 @@ html.dark-mode .footer-cta-title {
25202534
color: #fff;
25212535
}
25222536

2537+
html.auto-color .kg-bookmark-card a.kg-bookmark-container,
2538+
html.auto-color .kg-bookmark-card a.kg-bookmark-container:hover {
2539+
background: var(--color-darkmode) !important;
2540+
color: #fff !important;
2541+
}
2542+
25232543
html.auto-color .footer-cta-title {
25242544
color: #fff;
25252545
}

default.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<div class="gh-head-actions">
111111
{{#unless @site.members_enabled}}
112112
{{^match @custom.navigation_layout "Stacked"}}
113-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
113+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
114114
<div class="gh-social">
115115
{{#if @site.facebook}}
116116
<a class="gh-social-link" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="me noopener">{{> "icons/facebook"}}</a>
@@ -127,7 +127,7 @@
127127
</div>
128128
{{/match}}
129129
{{else}}
130-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
130+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
131131
<div class="gh-nonsearch-actions">
132132
<div class="gh-social">
133133
{{#if @site.facebook}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"autoprefixer": "10.4.7",
5252
"beeper": "2.1.0",
5353
"cssnano": "5.1.12",
54-
"gscan": "4.36.1",
54+
"gscan": "4.43.1",
5555
"gulp": "4.0.2",
5656
"gulp-concat": "2.6.1",
5757
"gulp-livereload": "4.0.2",

partials/post-card.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{!-- This is a partial file used to generate a post "card"
22
which templates loop over to generate a list of posts. --}}
33

4-
<article class="post-card {{post_class}}{{#match @custom.feed_layout "Classic"}}{{#is "home"}}{{#has index="0"}} post-card-large{{/has}}{{#has index="1,2"}} dynamic{{/has}}{{/is}}{{/match}}{{#match @custom.feed_layout "Grid"}} keep-ratio{{/match}}{{#match @custom.feed_layout "List"}}{{#is "home, paged"}} post-card-large{{/is}}{{/match}}{{#unless access}} post-access-{{visibility}}{{/unless}}">
4+
<article class="post-card {{post_class}}{{#match @custom.feed_layout "Classic"}}{{#is "home"}}{{#has index="0"}} post-card-large{{/has}}{{#has index="1,2"}} dynamic{{/has}}{{/is}}{{/match}}{{#match @custom.feed_layout "Grid"}} keep-ratio{{/match}}{{#match @custom.feed_layout "List"}}{{^is "tag, author"}} post-card-large{{/is}}{{/match}}{{#unless access}} post-access-{{visibility}}{{/unless}}">
55

66
{{#if feature_image}}
77
<a class="post-card-image-link" href="{{url}}">

post.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ into the {body} tag of the default.hbs template --}}
3232
<div class="article-byline">
3333
<section class="article-byline-content">
3434

35-
<ul class="author-list">
35+
<ul class="author-list instapaper_ignore">
3636
{{#foreach authors}}
3737
<li class="author-list-item">
3838
{{#if profile_image}}

0 commit comments

Comments
 (0)