ghost 5.80.0 → 5.80.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/tryghost-adapter-cache-memory-ttl-5.80.2.tgz +0 -0
- package/components/{tryghost-adapter-cache-redis-5.80.0.tgz → tryghost-adapter-cache-redis-5.80.2.tgz} +0 -0
- package/components/{tryghost-adapter-manager-5.80.0.tgz → tryghost-adapter-manager-5.80.2.tgz} +0 -0
- package/components/tryghost-announcement-bar-settings-5.80.2.tgz +0 -0
- package/components/{tryghost-api-framework-5.80.0.tgz → tryghost-api-framework-5.80.2.tgz} +0 -0
- package/components/{tryghost-api-version-compatibility-service-5.80.0.tgz → tryghost-api-version-compatibility-service-5.80.2.tgz} +0 -0
- package/components/{tryghost-audience-feedback-5.80.0.tgz → tryghost-audience-feedback-5.80.2.tgz} +0 -0
- package/components/tryghost-bookshelf-repository-5.80.2.tgz +0 -0
- package/components/{tryghost-bootstrap-socket-5.80.0.tgz → tryghost-bootstrap-socket-5.80.2.tgz} +0 -0
- package/components/tryghost-collections-5.80.2.tgz +0 -0
- package/components/tryghost-constants-5.80.2.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.80.2.tgz +0 -0
- package/components/{tryghost-data-generator-5.80.0.tgz → tryghost-data-generator-5.80.2.tgz} +0 -0
- package/components/tryghost-domain-events-5.80.2.tgz +0 -0
- package/components/{tryghost-donations-5.80.0.tgz → tryghost-donations-5.80.2.tgz} +0 -0
- package/components/tryghost-dynamic-routing-events-5.80.2.tgz +0 -0
- package/components/tryghost-email-addresses-5.80.2.tgz +0 -0
- package/components/{tryghost-email-analytics-provider-mailgun-5.80.0.tgz → tryghost-email-analytics-provider-mailgun-5.80.2.tgz} +0 -0
- package/components/{tryghost-email-analytics-service-5.80.0.tgz → tryghost-email-analytics-service-5.80.2.tgz} +0 -0
- package/components/tryghost-email-content-generator-5.80.2.tgz +0 -0
- package/components/{tryghost-email-events-5.80.0.tgz → tryghost-email-events-5.80.2.tgz} +0 -0
- package/components/tryghost-email-service-5.80.2.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.80.2.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.80.2.tgz +0 -0
- package/components/{tryghost-external-media-inliner-5.80.0.tgz → tryghost-external-media-inliner-5.80.2.tgz} +0 -0
- package/components/tryghost-extract-api-key-5.80.2.tgz +0 -0
- package/components/{tryghost-html-to-plaintext-5.80.0.tgz → tryghost-html-to-plaintext-5.80.2.tgz} +0 -0
- package/components/tryghost-i18n-5.80.2.tgz +0 -0
- package/components/{tryghost-importer-handler-content-files-5.80.0.tgz → tryghost-importer-handler-content-files-5.80.2.tgz} +0 -0
- package/components/tryghost-importer-revue-5.80.2.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.80.2.tgz +0 -0
- package/components/{tryghost-job-manager-5.80.0.tgz → tryghost-job-manager-5.80.2.tgz} +0 -0
- package/components/{tryghost-link-redirects-5.80.0.tgz → tryghost-link-redirects-5.80.2.tgz} +0 -0
- package/components/tryghost-link-replacer-5.80.2.tgz +0 -0
- package/components/tryghost-link-tracking-5.80.2.tgz +0 -0
- package/components/{tryghost-magic-link-5.80.0.tgz → tryghost-magic-link-5.80.2.tgz} +0 -0
- package/components/{tryghost-mail-events-5.80.0.tgz → tryghost-mail-events-5.80.2.tgz} +0 -0
- package/components/{tryghost-mailgun-client-5.80.0.tgz → tryghost-mailgun-client-5.80.2.tgz} +0 -0
- package/components/tryghost-member-attribution-5.80.2.tgz +0 -0
- package/components/{tryghost-member-events-5.80.0.tgz → tryghost-member-events-5.80.2.tgz} +0 -0
- package/components/{tryghost-members-api-5.80.0.tgz → tryghost-members-api-5.80.2.tgz} +0 -0
- package/components/tryghost-members-csv-5.80.2.tgz +0 -0
- package/components/{tryghost-members-events-service-5.80.0.tgz → tryghost-members-events-service-5.80.2.tgz} +0 -0
- package/components/{tryghost-members-importer-5.80.0.tgz → tryghost-members-importer-5.80.2.tgz} +0 -0
- package/components/{tryghost-members-offers-5.80.0.tgz → tryghost-members-offers-5.80.2.tgz} +0 -0
- package/components/tryghost-members-payments-5.80.2.tgz +0 -0
- package/components/{tryghost-members-ssr-5.80.0.tgz → tryghost-members-ssr-5.80.2.tgz} +0 -0
- package/components/{tryghost-members-stripe-service-5.80.0.tgz → tryghost-members-stripe-service-5.80.2.tgz} +0 -0
- package/components/tryghost-mentions-email-report-5.80.2.tgz +0 -0
- package/components/tryghost-milestones-5.80.2.tgz +0 -0
- package/components/{tryghost-minifier-5.80.0.tgz → tryghost-minifier-5.80.2.tgz} +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.80.2.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.80.2.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.80.2.tgz +0 -0
- package/components/{tryghost-mw-error-handler-5.80.0.tgz → tryghost-mw-error-handler-5.80.2.tgz} +0 -0
- package/components/{tryghost-mw-session-from-token-5.80.0.tgz → tryghost-mw-session-from-token-5.80.2.tgz} +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.80.2.tgz +0 -0
- package/components/tryghost-mw-version-match-5.80.2.tgz +0 -0
- package/components/tryghost-mw-vhost-5.80.2.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.80.2.tgz +0 -0
- package/components/{tryghost-oembed-service-5.80.0.tgz → tryghost-oembed-service-5.80.2.tgz} +0 -0
- package/components/tryghost-package-json-5.80.2.tgz +0 -0
- package/components/tryghost-post-events-5.80.2.tgz +0 -0
- package/components/tryghost-post-revisions-5.80.2.tgz +0 -0
- package/components/tryghost-posts-service-5.80.2.tgz +0 -0
- package/components/tryghost-recommendations-5.80.2.tgz +0 -0
- package/components/tryghost-referrers-5.80.2.tgz +0 -0
- package/components/{tryghost-security-5.80.0.tgz → tryghost-security-5.80.2.tgz} +0 -0
- package/components/tryghost-session-service-5.80.2.tgz +0 -0
- package/components/{tryghost-settings-path-manager-5.80.0.tgz → tryghost-settings-path-manager-5.80.2.tgz} +0 -0
- package/components/tryghost-slack-notifications-5.80.2.tgz +0 -0
- package/components/{tryghost-staff-service-5.80.0.tgz → tryghost-staff-service-5.80.2.tgz} +0 -0
- package/components/tryghost-stats-service-5.80.2.tgz +0 -0
- package/components/{tryghost-tiers-5.80.0.tgz → tryghost-tiers-5.80.2.tgz} +0 -0
- package/components/{tryghost-update-check-service-5.80.0.tgz → tryghost-update-check-service-5.80.2.tgz} +0 -0
- package/components/{tryghost-verification-trigger-5.80.0.tgz → tryghost-verification-trigger-5.80.2.tgz} +0 -0
- package/components/{tryghost-version-notifications-data-service-5.80.0.tgz → tryghost-version-notifications-data-service-5.80.2.tgz} +0 -0
- package/components/{tryghost-webmentions-5.80.0.tgz → tryghost-webmentions-5.80.2.tgz} +0 -0
- package/content/themes/source/assets/built/screen.css +1 -1
- package/content/themes/source/assets/built/screen.css.map +1 -1
- package/content/themes/source/assets/built/source.js +1 -1
- package/content/themes/source/assets/built/source.js.map +1 -1
- package/content/themes/source/assets/css/screen.css +72 -33
- package/content/themes/source/assets/js/{casper.js → main.js} +14 -0
- package/content/themes/source/package.json +16 -1
- package/content/themes/source/partials/components/cta.hbs +1 -1
- package/content/themes/source/partials/components/footer.hbs +2 -2
- package/content/themes/source/partials/components/header-content.hbs +2 -2
- package/content/themes/source/partials/components/navigation.hbs +1 -1
- package/content/themes/source/partials/email-subscription.hbs +2 -2
- package/content/themes/source/partials/icons/lock.hbs +1 -5
- package/content/themes/source/partials/post-card.hbs +13 -3
- package/content/themes/source/post.hbs +18 -14
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-453ad684.mjs → CodeEditorView-78d4e20d.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-e5a159b3.mjs → index-8d67ef5d.mjs} +1144 -1147
- package/core/built/admin/assets/admin-x-settings/{index-e0bcf3fa.mjs → index-d4d158b7.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{modals-601aa38c.mjs → modals-ae924d1e.mjs} +2146 -2140
- package/core/built/admin/assets/{chunk.524.7a4d83ee591b8022ef58.js → chunk.524.c3472d95b4bd1a45a18d.js} +5 -5
- package/core/built/admin/assets/{chunk.582.709d41019645237a6018.js → chunk.582.c3f2b4d45f0b280c944c.js} +4 -4
- package/core/built/admin/assets/{chunk.763.6b160e403073ecabbfa6.js → chunk.763.bd01d249eecdcce3856c.js} +647 -649
- package/core/built/admin/assets/ghost-ab71ce6991cc9bdcd6b915a9c984fa27.css +1 -0
- package/core/built/admin/assets/ghost-dark-fd04889e3b6ac569d2158c740dbcb9c5.css +1 -0
- package/core/built/admin/assets/ghost-ea7a51891dfca9b7a04aacfffe7dea4e.js +1 -1
- package/core/built/admin/assets/{vendor-6b83da0c6e6fede335947219c59e1543.js → vendor-43a631b7c834235c4ff0b2186b5ca27d.js} +7 -9
- package/core/built/admin/index.html +5 -5
- package/core/server/api/endpoints/utils/serializers/output/mappers/posts.js +4 -0
- package/core/server/models/post.js +6 -0
- package/core/server/services/auth/api-key/admin.js +5 -10
- package/core/shared/config/defaults.json +1 -1
- package/package.json +147 -147
- package/yarn.lock +56 -54
- package/components/tryghost-adapter-cache-memory-ttl-5.80.0.tgz +0 -0
- package/components/tryghost-announcement-bar-settings-5.80.0.tgz +0 -0
- package/components/tryghost-bookshelf-repository-5.80.0.tgz +0 -0
- package/components/tryghost-collections-5.80.0.tgz +0 -0
- package/components/tryghost-constants-5.80.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.80.0.tgz +0 -0
- package/components/tryghost-domain-events-5.80.0.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.80.0.tgz +0 -0
- package/components/tryghost-email-addresses-5.80.0.tgz +0 -0
- package/components/tryghost-email-content-generator-5.80.0.tgz +0 -0
- package/components/tryghost-email-service-5.80.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.80.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.80.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.80.0.tgz +0 -0
- package/components/tryghost-i18n-5.80.0.tgz +0 -0
- package/components/tryghost-importer-revue-5.80.0.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.80.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.80.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.80.0.tgz +0 -0
- package/components/tryghost-member-attribution-5.80.0.tgz +0 -0
- package/components/tryghost-members-csv-5.80.0.tgz +0 -0
- package/components/tryghost-members-payments-5.80.0.tgz +0 -0
- package/components/tryghost-mentions-email-report-5.80.0.tgz +0 -0
- package/components/tryghost-milestones-5.80.0.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.80.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.80.0.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.80.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.80.0.tgz +0 -0
- package/components/tryghost-mw-version-match-5.80.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.80.0.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.80.0.tgz +0 -0
- package/components/tryghost-package-json-5.80.0.tgz +0 -0
- package/components/tryghost-post-events-5.80.0.tgz +0 -0
- package/components/tryghost-post-revisions-5.80.0.tgz +0 -0
- package/components/tryghost-posts-service-5.80.0.tgz +0 -0
- package/components/tryghost-recommendations-5.80.0.tgz +0 -0
- package/components/tryghost-referrers-5.80.0.tgz +0 -0
- package/components/tryghost-session-service-5.80.0.tgz +0 -0
- package/components/tryghost-slack-notifications-5.80.0.tgz +0 -0
- package/components/tryghost-stats-service-5.80.0.tgz +0 -0
- package/core/built/admin/assets/ghost-40f01556960b49381176bbfa19a89c9a.css +0 -1
- package/core/built/admin/assets/ghost-dark-a86f0499bf2697104213d035da3a3b4d.css +0 -1
- /package/core/built/admin/assets/{chunk.763.6b160e403073ecabbfa6.js.LICENSE.txt → chunk.763.bd01d249eecdcce3856c.js.LICENSE.txt} +0 -0
|
@@ -59,9 +59,9 @@ production stylesheet in assets/built/screen.css
|
|
|
59
59
|
--color-darker-gray: #15171a;
|
|
60
60
|
--color-black: #000;
|
|
61
61
|
--color-primary-text: var(--color-darker-gray);
|
|
62
|
-
--color-secondary-text: rgb(0 0 0 / 0.
|
|
62
|
+
--color-secondary-text: rgb(0 0 0 / 0.55);
|
|
63
63
|
--color-border: rgb(0 0 0 / 0.08);
|
|
64
|
-
--color-dark-border: rgb(0 0 0 / 0.
|
|
64
|
+
--color-dark-border: rgb(0 0 0 / 0.55);
|
|
65
65
|
--font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
66
66
|
--font-serif: "EB Garamond", Georgia, Times, serif;
|
|
67
67
|
--font-serif-alt: Georgia, Times, serif;
|
|
@@ -369,7 +369,7 @@ button.gh-form-input {
|
|
|
369
369
|
.gh-form {
|
|
370
370
|
font-size: 1.6rem;
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
|
|
373
373
|
.gh-form .gh-button {
|
|
374
374
|
padding-inline: 12px;
|
|
375
375
|
}
|
|
@@ -515,6 +515,7 @@ button.gh-form-input {
|
|
|
515
515
|
gap: 24px;
|
|
516
516
|
align-items: center;
|
|
517
517
|
justify-content: flex-end;
|
|
518
|
+
background-color: var(--background-color);
|
|
518
519
|
}
|
|
519
520
|
|
|
520
521
|
.gh-navigation-members {
|
|
@@ -972,7 +973,6 @@ Search LOGO Login Subscribe
|
|
|
972
973
|
display: -webkit-box;
|
|
973
974
|
overflow-y: hidden;
|
|
974
975
|
margin-top: 8px;
|
|
975
|
-
max-width: 720px;
|
|
976
976
|
font-size: 1.45rem;
|
|
977
977
|
line-height: 1.4;
|
|
978
978
|
-webkit-line-clamp: 2;
|
|
@@ -983,6 +983,7 @@ Search LOGO Login Subscribe
|
|
|
983
983
|
display: flex;
|
|
984
984
|
gap: 4px;
|
|
985
985
|
flex-wrap: wrap;
|
|
986
|
+
align-items: center;
|
|
986
987
|
padding-bottom: 1px;
|
|
987
988
|
font-size: 1.25rem;
|
|
988
989
|
font-weight: 500;
|
|
@@ -991,6 +992,13 @@ Search LOGO Login Subscribe
|
|
|
991
992
|
color: var(--color-secondary-text);
|
|
992
993
|
}
|
|
993
994
|
|
|
995
|
+
.gh-card-meta svg {
|
|
996
|
+
width: 16px;
|
|
997
|
+
height: 16px;
|
|
998
|
+
margin-right: 2px;
|
|
999
|
+
margin-top: -2px;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
994
1002
|
.gh-card-meta:not(:empty) {
|
|
995
1003
|
margin-top: 12px;
|
|
996
1004
|
}
|
|
@@ -2127,6 +2135,20 @@ unless a heading is the very first element in the post content */
|
|
|
2127
2135
|
margin-top: calc(56px * var(--content-spacing-factor, 1));
|
|
2128
2136
|
}
|
|
2129
2137
|
|
|
2138
|
+
/* Add drop cap setting */
|
|
2139
|
+
.post-template .gh-content.drop-cap > p:first-of-type:first-letter {
|
|
2140
|
+
margin :0 0.2em 0em 0;
|
|
2141
|
+
font-size: 3.1em;
|
|
2142
|
+
float:left;
|
|
2143
|
+
line-height: 1;
|
|
2144
|
+
margin-left: -1px;
|
|
2145
|
+
font-weight: 700;
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
.has-serif-body.post-template .gh-content.drop-cap > p:first-of-type:first-letter {
|
|
2149
|
+
font-size: 3.2em;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2130
2152
|
/* Add a small margin between a heading and paragraph after it */
|
|
2131
2153
|
.gh-content > [id] + p {
|
|
2132
2154
|
margin-top: calc(12px * var(--content-spacing-factor, 1));
|
|
@@ -2143,6 +2165,11 @@ unless a heading is the very first element in the post content */
|
|
|
2143
2165
|
}
|
|
2144
2166
|
|
|
2145
2167
|
/* Now the content typography styles */
|
|
2168
|
+
.gh-content h1 {
|
|
2169
|
+
font-size: calc(2.2em * var(--factor, 1));
|
|
2170
|
+
letter-spacing: -0.02em;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2146
2173
|
.gh-content h2 {
|
|
2147
2174
|
font-size: calc(1.6em * var(--factor, 1));
|
|
2148
2175
|
letter-spacing: -0.02em;
|
|
@@ -2198,51 +2225,63 @@ unless a heading is the very first element in the post content */
|
|
|
2198
2225
|
border: 0;
|
|
2199
2226
|
}
|
|
2200
2227
|
|
|
2201
|
-
.gh-content
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2228
|
+
.gh-content .gh-table {
|
|
2229
|
+
overflow-x: scroll;
|
|
2230
|
+
-webkit-overflow-scrolling: touch;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
.gh-content .gh-table table {
|
|
2234
|
+
width: 100%;
|
|
2206
2235
|
font-family: var(--font-sans);
|
|
2207
|
-
font-size: 1.
|
|
2236
|
+
font-size: 1.5rem;
|
|
2208
2237
|
white-space: nowrap;
|
|
2209
2238
|
vertical-align: top;
|
|
2210
2239
|
border-spacing: 0;
|
|
2211
2240
|
border-collapse: collapse;
|
|
2212
|
-
-webkit-overflow-scrolling: touch;
|
|
2213
|
-
background: radial-gradient(ellipse at left, rgb(0 0 0 / 0.2) 0%, rgb(0 0 0 / 0) 75%) 0 center, radial-gradient(ellipse at right, rgb(0 0 0 / 0.2) 0%, rgb(0 0 0 / 0) 75%) 100% center;
|
|
2214
|
-
background-repeat: no-repeat;
|
|
2215
|
-
background-attachment: scroll, scroll;
|
|
2216
|
-
background-size: 10px 100%, 10px 100%;
|
|
2217
2241
|
}
|
|
2218
2242
|
|
|
2219
|
-
.gh-content table
|
|
2220
|
-
background-image: linear-gradient(to right, rgb(255 255 255 / 1) 50%, rgb(255 255 255 / 0) 100%);
|
|
2221
|
-
background-repeat: no-repeat;
|
|
2222
|
-
background-size: 20px 100%;
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
|
-
.gh-content table:not(.gist table) td:last-child {
|
|
2226
|
-
background-image: linear-gradient(to left, rgb(255 255 255 / 1) 50%, rgb(255 255 255 / 0) 100%);
|
|
2227
|
-
background-repeat: no-repeat;
|
|
2228
|
-
background-position: 100% 0;
|
|
2229
|
-
background-size: 20px 100%;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
.gh-content table:not(.gist table) th {
|
|
2243
|
+
.gh-content .gh-table table th {
|
|
2233
2244
|
font-size: 1.2rem;
|
|
2234
2245
|
font-weight: 700;
|
|
2235
2246
|
color: var(--color-darkgrey);
|
|
2236
2247
|
text-align: left;
|
|
2237
2248
|
text-transform: uppercase;
|
|
2238
2249
|
letter-spacing: 0.2px;
|
|
2239
|
-
background-color: var(--color-white);
|
|
2240
2250
|
}
|
|
2241
2251
|
|
|
2242
|
-
.gh-content table
|
|
2243
|
-
.gh-content table
|
|
2252
|
+
.gh-content .gh-table table :is(th, td),
|
|
2253
|
+
.gh-content .gh-table table td {
|
|
2244
2254
|
padding: 6px 12px;
|
|
2245
|
-
border: 1px solid var(--color-
|
|
2255
|
+
border-bottom: 1px solid var(--color-border);
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
.gh-content .gh-table table :is(th, td):first-child {
|
|
2259
|
+
padding-left: 0;
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.gh-content .gh-table table :is(th, td):last-child {
|
|
2263
|
+
padding-right: 0;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
.gh-content pre {
|
|
2267
|
+
overflow: auto;
|
|
2268
|
+
padding: 16px;
|
|
2269
|
+
font-size: 1.5rem;
|
|
2270
|
+
line-height: 1.5em;
|
|
2271
|
+
background: var(--color-lighter-gray);
|
|
2272
|
+
border-radius: 6px;
|
|
2273
|
+
font-family: var(--font-mono);
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
.gh-content :not(pre) > code {
|
|
2277
|
+
vertical-align: baseline;
|
|
2278
|
+
padding: 0.15em 0.4em;
|
|
2279
|
+
font-weight: 400;
|
|
2280
|
+
font-size: 0.95em;
|
|
2281
|
+
line-height: 1em;
|
|
2282
|
+
background: var(--color-lighter-gray);
|
|
2283
|
+
border-radius: 0.25em;
|
|
2284
|
+
font-family: var(--font-mono);
|
|
2246
2285
|
}
|
|
2247
2286
|
|
|
2248
2287
|
/* 16. Cards
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
burger.addEventListener('click', function () {
|
|
8
8
|
if (!navigation.classList.contains('is-open')) {
|
|
9
9
|
navigation.classList.add('is-open');
|
|
10
|
+
document.documentElement.style.overflowY = 'hidden';
|
|
10
11
|
} else {
|
|
11
12
|
navigation.classList.remove('is-open');
|
|
13
|
+
document.documentElement.style.overflowY = null;
|
|
12
14
|
}
|
|
13
15
|
});
|
|
14
16
|
})();
|
|
@@ -43,4 +45,16 @@
|
|
|
43
45
|
if (!document.body.classList.contains('home-template') && !document.body.classList.contains('post-template')) {
|
|
44
46
|
pagination();
|
|
45
47
|
}
|
|
48
|
+
})();
|
|
49
|
+
|
|
50
|
+
/* Responsive HTML table */
|
|
51
|
+
(function () {
|
|
52
|
+
const tables = document.querySelectorAll('.gh-content > table:not(.gist table)');
|
|
53
|
+
const wrapper = document.createElement('div');
|
|
54
|
+
wrapper.className = 'gh-table';
|
|
55
|
+
|
|
56
|
+
tables.forEach(function (table) {
|
|
57
|
+
table.parentNode.insertBefore(wrapper, table);
|
|
58
|
+
wrapper.appendChild(table);
|
|
59
|
+
});
|
|
46
60
|
})();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "source",
|
|
3
3
|
"description": "A default theme for the Ghost publishing platform",
|
|
4
4
|
"demo": "https://source.ghost.io",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.2.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"ghost": ">=5.0.0"
|
|
8
8
|
},
|
|
@@ -191,6 +191,21 @@
|
|
|
191
191
|
"type": "boolean",
|
|
192
192
|
"default": false,
|
|
193
193
|
"group": "homepage"
|
|
194
|
+
},
|
|
195
|
+
"show_post_metadata": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"default": true,
|
|
198
|
+
"group": "post"
|
|
199
|
+
},
|
|
200
|
+
"enable_drop_caps_on_posts": {
|
|
201
|
+
"type": "boolean",
|
|
202
|
+
"default": false,
|
|
203
|
+
"group": "post"
|
|
204
|
+
},
|
|
205
|
+
"show_related_articles": {
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"default": true,
|
|
208
|
+
"group": "post"
|
|
194
209
|
}
|
|
195
210
|
}
|
|
196
211
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
Powered by <a href="https://ghost.org/" target="_blank" rel="noopener">Ghost</a>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
{{#if @site.members_enabled}}
|
|
21
21
|
{{#unless @member}}
|
|
22
22
|
<section class="gh-footer-signup">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<p class="gh-footer-signup-subhead is-body">
|
|
27
27
|
{{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
|
|
28
28
|
</p>
|
|
29
|
-
{{> "email-subscription"}}
|
|
29
|
+
{{> "email-subscription" email_field_id="footer-email"}}
|
|
30
30
|
</section>
|
|
31
31
|
{{/unless}}
|
|
32
32
|
{{/if}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<section class="gh-header is-{{#match headerStyle "Magazine"}}magazine{{else match headerStyle "Highlight"}}highlight{{else}}classic{{/match}}{{#if @custom.background_image}}{{#if @site.cover_image}} has-image{{/if}}{{/if}} gh-outer">
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
{{!-- Background image --}}
|
|
4
4
|
{{#if @custom.background_image}}
|
|
5
5
|
{{#match headerStyle "!=" "Magazine"}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{!-- Landing layout --}}
|
|
65
65
|
{{#match headerStyle "Landing"}}
|
|
66
66
|
<h1 class="gh-header-title is-title">{{#if @custom.header_text}}{{@custom.header_text}}{{else}}{{@site.description}}{{/if}}</h1>
|
|
67
|
-
{{> "email-subscription"}}
|
|
67
|
+
{{> "email-subscription" email_field_id="header-email"}}
|
|
68
68
|
{{/match}}
|
|
69
69
|
|
|
70
70
|
{{!-- Search layout --}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<form class="gh-form" data-members-form>
|
|
2
|
-
<input class="gh-form-input" type="email" placeholder="jamie@example.com" required data-members-email>
|
|
3
|
-
<button class="gh-button" type="submit">
|
|
2
|
+
<input class="gh-form-input" id="{{email_field_id}}" type="email" placeholder="jamie@example.com" required data-members-email>
|
|
3
|
+
<button class="gh-button" type="submit" aria-label="Subscribe">
|
|
4
4
|
<span><span>Subscribe</span> {{> "icons/arrow"}}</span>
|
|
5
5
|
{{> "icons/loader"}}
|
|
6
6
|
{{> "icons/checkmark"}}
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
<path d="M16.25 6.875H3.75C3.40482 6.875 3.125 7.15482 3.125 7.5V16.25C3.125 16.5952 3.40482 16.875 3.75 16.875H16.25C16.5952 16.875 16.875 16.5952 16.875 16.25V7.5C16.875 7.15482 16.5952 6.875 16.25 6.875Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
3
|
-
<path d="M7.1875 6.875V4.0625C7.1875 3.31658 7.48382 2.60121 8.01126 2.07376C8.53871 1.54632 9.25408 1.25 10 1.25C10.7459 1.25 11.4613 1.54632 11.9887 2.07376C12.5162 2.60121 12.8125 3.31658 12.8125 4.0625V6.875" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
4
|
-
<path d="M10 13.125C10.6904 13.125 11.25 12.5654 11.25 11.875C11.25 11.1846 10.6904 10.625 10 10.625C9.30964 10.625 8.75 11.1846 8.75 11.875C8.75 12.5654 9.30964 13.125 10 13.125Z" fill="currentColor"></path>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" height="20" width="20" id="Lock-1--Streamline-Ultimate"><defs></defs><title>lock-1</title><path d="M4.375 8.125h11.25s1.25 0 1.25 1.25v8.75s0 1.25 -1.25 1.25H4.375s-1.25 0 -1.25 -1.25v-8.75s0 -1.25 1.25 -1.25" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M5.625 8.125V5a4.375 4.375 0 0 1 8.75 0v3.125" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m10 12.5 0 2.5" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>
|
|
@@ -21,10 +21,20 @@
|
|
|
21
21
|
<p class="gh-card-tag">{{primary_tag.name}}</p>
|
|
22
22
|
{{/if}}
|
|
23
23
|
<h3 class="gh-card-title is-title">{{title}}</h3>
|
|
24
|
-
{{#if
|
|
25
|
-
<p class="gh-card-excerpt is-body">{{
|
|
24
|
+
{{#if custom_excerpt}}
|
|
25
|
+
<p class="gh-card-excerpt is-body">{{custom_excerpt}}</p>
|
|
26
26
|
{{/if}}
|
|
27
|
-
|
|
27
|
+
{{#unless custom_excerpt}}
|
|
28
|
+
{{#if excerpt}}
|
|
29
|
+
<p class="gh-card-excerpt is-body">{{excerpt}}</p>
|
|
30
|
+
{{/if}}
|
|
31
|
+
{{/unless}}
|
|
32
|
+
<footer class="gh-card-meta">
|
|
33
|
+
{{#unless access}}
|
|
34
|
+
{{^has visibility="public"}}
|
|
35
|
+
{{> "icons/lock"}}
|
|
36
|
+
{{/has}}
|
|
37
|
+
{{/unless}}<!--
|
|
28
38
|
-->{{#if @custom.show_author}}
|
|
29
39
|
<span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span>
|
|
30
40
|
{{/if}}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
<p class="gh-article-excerpt is-body">{{custom_excerpt}}</p>
|
|
18
18
|
{{/if}}
|
|
19
19
|
|
|
20
|
+
{{#if @custom.show_post_metadata}}
|
|
20
21
|
<div class="gh-article-meta">
|
|
21
22
|
<div class="gh-article-author-image">
|
|
22
23
|
{{#foreach authors}}
|
|
@@ -39,12 +40,13 @@
|
|
|
39
40
|
</div>
|
|
40
41
|
</div>
|
|
41
42
|
</div>
|
|
43
|
+
{{/if}}
|
|
42
44
|
|
|
43
45
|
{{> "feature-image"}}
|
|
44
46
|
|
|
45
47
|
</header>
|
|
46
48
|
|
|
47
|
-
<section class="gh-content gh-canvas is-body">
|
|
49
|
+
<section class="gh-content gh-canvas is-body{{#if @custom.enable_drop_caps_on_posts}} drop-cap{{/if}}">
|
|
48
50
|
{{content}}
|
|
49
51
|
</section>
|
|
50
52
|
|
|
@@ -60,17 +62,19 @@
|
|
|
60
62
|
|
|
61
63
|
{{/post}}
|
|
62
64
|
|
|
63
|
-
{{#
|
|
64
|
-
{{#
|
|
65
|
-
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
{{
|
|
71
|
-
|
|
65
|
+
{{#if @custom.show_related_articles}}
|
|
66
|
+
{{#get "posts" include="authors" filter="id:-{{post.id}}" limit="4" as |next|}}
|
|
67
|
+
{{#if next}}
|
|
68
|
+
<section class="gh-container is-grid gh-outer">
|
|
69
|
+
<div class="gh-container-inner gh-inner">
|
|
70
|
+
<h2 class="gh-container-title">Read more</h2>
|
|
71
|
+
<div class="gh-feed">
|
|
72
|
+
{{#foreach next}}
|
|
73
|
+
{{> "post-card" lazyLoad=true}}
|
|
74
|
+
{{/foreach}}
|
|
75
|
+
</div>
|
|
72
76
|
</div>
|
|
73
|
-
</
|
|
74
|
-
|
|
75
|
-
{{/
|
|
76
|
-
{{/
|
|
77
|
+
</section>
|
|
78
|
+
{{/if}}
|
|
79
|
+
{{/get}}
|
|
80
|
+
{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ce, b as q, bW as Rt, bX as qn, e as wt, bY as _n, j as N, bZ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-
|
|
1
|
+
import { a as ce, b as q, bW as Rt, bX as qn, e as wt, bY as _n, j as N, bZ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-8d67ef5d.mjs";
|
|
2
2
|
import { E as p, F as de, v as Ee, S as Re, o as d, w as qe, C as Jn, x as jn, y as Tt, z as Ot, A as Se, B as It, G as Pt, H as Wt, J as Ue, K as Xe, M as w, O as Z, g as et, b as $e, Q as Qn, R as ee, V as Ft, U as x, W as Yn, X as Zn, Y as ue, Z as L, _ as Xn, $ as er, a0 as tt, a1 as he, a2 as tr, a3 as nr, a4 as rr, a5 as or, a6 as ir, a7 as sr, a8 as lr, a9 as ar, aa as cr, ab as ur, ac as hr, ad as fr, ae as dr, af as mr, ag as Nt, ah as gr, ai as pr, aj as yr, ak as xr, al as kr, am as br, an as qt, ao as Sr, ap as Cr, t as f, aq as vr } from "./index-9cc1df42.mjs";
|
|
3
3
|
const Ar = (t) => {
|
|
4
4
|
let { state: e } = t, r = e.doc.lineAt(e.selection.main.from), n = rt(t.state, r.from);
|
|
@@ -2362,4 +2362,4 @@ const Ni = [
|
|
|
2362
2362
|
export {
|
|
2363
2363
|
Hi as default
|
|
2364
2364
|
};
|
|
2365
|
-
//# sourceMappingURL=CodeEditorView-
|
|
2365
|
+
//# sourceMappingURL=CodeEditorView-78d4e20d.mjs.map
|