Skip to content

Commit aee37bc

Browse files
committed
Update from upstream (Casper 5.7.2)
2 parents eda1433 + 331257e commit aee37bc

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

assets/css/screen.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,6 +2170,10 @@ html.dark-mode .site-header-content {
21702170
color: #fff;
21712171
}
21722172

2173+
html.dark-mode .site-header-cover {
2174+
opacity: 1;
2175+
}
2176+
21732177
html.dark-mode .post-card-image {
21742178
background: var(--color-darkmode);
21752179
}
@@ -2362,6 +2366,10 @@ html.dark-mode .footer-cta-title {
23622366
color: #fff;
23632367
}
23642368

2369+
html.auto-color .site-header-cover {
2370+
opacity: 1;
2371+
}
2372+
23652373
html.auto-color .post-card-image {
23662374
background: var(--color-darkmode);
23672375
}

default.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{{/if}}
4040
</a>
4141
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
42-
<button class="gh-burger"></button>
42+
<button class="gh-burger" aria-label="Main Menu"></button>
4343
</div>
4444

4545
<nav class="gh-head-menu">
@@ -54,14 +54,14 @@
5454
<div class="gh-head-actions">
5555
{{#unless @site.members_enabled}}
5656
{{^match @custom.navigation_layout "Stacked"}}
57-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
57+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
5858
<a class="social-link social-link-li" href="https://www.linkedin.com/showcase/michelin-it-digital" title="Linkedin" target="_blank" rel="noopener">{{> "icons/linkedin"}}</a>
5959
{{#if @site.twitter}}
6060
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="X" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
6161
{{/if}}
6262
{{/match}}
6363
{{else}}
64-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
64+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
6565
<a class="social-link social-link-li" href="https://www.linkedin.com/showcase/michelin-it-digital" title="Linkedin" target="_blank" rel="noopener">{{> "icons/linkedin"}}</a>
6666
{{#if @site.twitter}}
6767
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "michelin",
33
"description": "Michelin default theme for Ghost publishing platform",
44
"demo": "https://blogit.michelin.io/",
5-
"version": "5.7.1",
5+
"version": "5.7.2",
66
"engines": {
77
"ghost": ">=5.0.0"
88
},

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}}">

0 commit comments

Comments
 (0)