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.
Files changed (155) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.80.2.tgz +0 -0
  2. package/components/{tryghost-adapter-cache-redis-5.80.0.tgz → tryghost-adapter-cache-redis-5.80.2.tgz} +0 -0
  3. package/components/{tryghost-adapter-manager-5.80.0.tgz → tryghost-adapter-manager-5.80.2.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.80.2.tgz +0 -0
  5. package/components/{tryghost-api-framework-5.80.0.tgz → tryghost-api-framework-5.80.2.tgz} +0 -0
  6. package/components/{tryghost-api-version-compatibility-service-5.80.0.tgz → tryghost-api-version-compatibility-service-5.80.2.tgz} +0 -0
  7. package/components/{tryghost-audience-feedback-5.80.0.tgz → tryghost-audience-feedback-5.80.2.tgz} +0 -0
  8. package/components/tryghost-bookshelf-repository-5.80.2.tgz +0 -0
  9. package/components/{tryghost-bootstrap-socket-5.80.0.tgz → tryghost-bootstrap-socket-5.80.2.tgz} +0 -0
  10. package/components/tryghost-collections-5.80.2.tgz +0 -0
  11. package/components/tryghost-constants-5.80.2.tgz +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.80.2.tgz +0 -0
  13. package/components/{tryghost-data-generator-5.80.0.tgz → tryghost-data-generator-5.80.2.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.80.2.tgz +0 -0
  15. package/components/{tryghost-donations-5.80.0.tgz → tryghost-donations-5.80.2.tgz} +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.80.2.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.80.2.tgz +0 -0
  18. package/components/{tryghost-email-analytics-provider-mailgun-5.80.0.tgz → tryghost-email-analytics-provider-mailgun-5.80.2.tgz} +0 -0
  19. package/components/{tryghost-email-analytics-service-5.80.0.tgz → tryghost-email-analytics-service-5.80.2.tgz} +0 -0
  20. package/components/tryghost-email-content-generator-5.80.2.tgz +0 -0
  21. package/components/{tryghost-email-events-5.80.0.tgz → tryghost-email-events-5.80.2.tgz} +0 -0
  22. package/components/tryghost-email-service-5.80.2.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.80.2.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.80.2.tgz +0 -0
  25. package/components/{tryghost-external-media-inliner-5.80.0.tgz → tryghost-external-media-inliner-5.80.2.tgz} +0 -0
  26. package/components/tryghost-extract-api-key-5.80.2.tgz +0 -0
  27. package/components/{tryghost-html-to-plaintext-5.80.0.tgz → tryghost-html-to-plaintext-5.80.2.tgz} +0 -0
  28. package/components/tryghost-i18n-5.80.2.tgz +0 -0
  29. package/components/{tryghost-importer-handler-content-files-5.80.0.tgz → tryghost-importer-handler-content-files-5.80.2.tgz} +0 -0
  30. package/components/tryghost-importer-revue-5.80.2.tgz +0 -0
  31. package/components/tryghost-in-memory-repository-5.80.2.tgz +0 -0
  32. package/components/{tryghost-job-manager-5.80.0.tgz → tryghost-job-manager-5.80.2.tgz} +0 -0
  33. package/components/{tryghost-link-redirects-5.80.0.tgz → tryghost-link-redirects-5.80.2.tgz} +0 -0
  34. package/components/tryghost-link-replacer-5.80.2.tgz +0 -0
  35. package/components/tryghost-link-tracking-5.80.2.tgz +0 -0
  36. package/components/{tryghost-magic-link-5.80.0.tgz → tryghost-magic-link-5.80.2.tgz} +0 -0
  37. package/components/{tryghost-mail-events-5.80.0.tgz → tryghost-mail-events-5.80.2.tgz} +0 -0
  38. package/components/{tryghost-mailgun-client-5.80.0.tgz → tryghost-mailgun-client-5.80.2.tgz} +0 -0
  39. package/components/tryghost-member-attribution-5.80.2.tgz +0 -0
  40. package/components/{tryghost-member-events-5.80.0.tgz → tryghost-member-events-5.80.2.tgz} +0 -0
  41. package/components/{tryghost-members-api-5.80.0.tgz → tryghost-members-api-5.80.2.tgz} +0 -0
  42. package/components/tryghost-members-csv-5.80.2.tgz +0 -0
  43. package/components/{tryghost-members-events-service-5.80.0.tgz → tryghost-members-events-service-5.80.2.tgz} +0 -0
  44. package/components/{tryghost-members-importer-5.80.0.tgz → tryghost-members-importer-5.80.2.tgz} +0 -0
  45. package/components/{tryghost-members-offers-5.80.0.tgz → tryghost-members-offers-5.80.2.tgz} +0 -0
  46. package/components/tryghost-members-payments-5.80.2.tgz +0 -0
  47. package/components/{tryghost-members-ssr-5.80.0.tgz → tryghost-members-ssr-5.80.2.tgz} +0 -0
  48. package/components/{tryghost-members-stripe-service-5.80.0.tgz → tryghost-members-stripe-service-5.80.2.tgz} +0 -0
  49. package/components/tryghost-mentions-email-report-5.80.2.tgz +0 -0
  50. package/components/tryghost-milestones-5.80.2.tgz +0 -0
  51. package/components/{tryghost-minifier-5.80.0.tgz → tryghost-minifier-5.80.2.tgz} +0 -0
  52. package/components/tryghost-model-to-domain-event-interceptor-5.80.2.tgz +0 -0
  53. package/components/tryghost-mw-api-version-mismatch-5.80.2.tgz +0 -0
  54. package/components/tryghost-mw-cache-control-5.80.2.tgz +0 -0
  55. package/components/{tryghost-mw-error-handler-5.80.0.tgz → tryghost-mw-error-handler-5.80.2.tgz} +0 -0
  56. package/components/{tryghost-mw-session-from-token-5.80.0.tgz → tryghost-mw-session-from-token-5.80.2.tgz} +0 -0
  57. package/components/tryghost-mw-update-user-last-seen-5.80.2.tgz +0 -0
  58. package/components/tryghost-mw-version-match-5.80.2.tgz +0 -0
  59. package/components/tryghost-mw-vhost-5.80.2.tgz +0 -0
  60. package/components/tryghost-nql-filter-expansions-5.80.2.tgz +0 -0
  61. package/components/{tryghost-oembed-service-5.80.0.tgz → tryghost-oembed-service-5.80.2.tgz} +0 -0
  62. package/components/tryghost-package-json-5.80.2.tgz +0 -0
  63. package/components/tryghost-post-events-5.80.2.tgz +0 -0
  64. package/components/tryghost-post-revisions-5.80.2.tgz +0 -0
  65. package/components/tryghost-posts-service-5.80.2.tgz +0 -0
  66. package/components/tryghost-recommendations-5.80.2.tgz +0 -0
  67. package/components/tryghost-referrers-5.80.2.tgz +0 -0
  68. package/components/{tryghost-security-5.80.0.tgz → tryghost-security-5.80.2.tgz} +0 -0
  69. package/components/tryghost-session-service-5.80.2.tgz +0 -0
  70. package/components/{tryghost-settings-path-manager-5.80.0.tgz → tryghost-settings-path-manager-5.80.2.tgz} +0 -0
  71. package/components/tryghost-slack-notifications-5.80.2.tgz +0 -0
  72. package/components/{tryghost-staff-service-5.80.0.tgz → tryghost-staff-service-5.80.2.tgz} +0 -0
  73. package/components/tryghost-stats-service-5.80.2.tgz +0 -0
  74. package/components/{tryghost-tiers-5.80.0.tgz → tryghost-tiers-5.80.2.tgz} +0 -0
  75. package/components/{tryghost-update-check-service-5.80.0.tgz → tryghost-update-check-service-5.80.2.tgz} +0 -0
  76. package/components/{tryghost-verification-trigger-5.80.0.tgz → tryghost-verification-trigger-5.80.2.tgz} +0 -0
  77. package/components/{tryghost-version-notifications-data-service-5.80.0.tgz → tryghost-version-notifications-data-service-5.80.2.tgz} +0 -0
  78. package/components/{tryghost-webmentions-5.80.0.tgz → tryghost-webmentions-5.80.2.tgz} +0 -0
  79. package/content/themes/source/assets/built/screen.css +1 -1
  80. package/content/themes/source/assets/built/screen.css.map +1 -1
  81. package/content/themes/source/assets/built/source.js +1 -1
  82. package/content/themes/source/assets/built/source.js.map +1 -1
  83. package/content/themes/source/assets/css/screen.css +72 -33
  84. package/content/themes/source/assets/js/{casper.js → main.js} +14 -0
  85. package/content/themes/source/package.json +16 -1
  86. package/content/themes/source/partials/components/cta.hbs +1 -1
  87. package/content/themes/source/partials/components/footer.hbs +2 -2
  88. package/content/themes/source/partials/components/header-content.hbs +2 -2
  89. package/content/themes/source/partials/components/navigation.hbs +1 -1
  90. package/content/themes/source/partials/email-subscription.hbs +2 -2
  91. package/content/themes/source/partials/icons/lock.hbs +1 -5
  92. package/content/themes/source/partials/post-card.hbs +13 -3
  93. package/content/themes/source/post.hbs +18 -14
  94. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-453ad684.mjs → CodeEditorView-78d4e20d.mjs} +2 -2
  95. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  96. package/core/built/admin/assets/admin-x-settings/{index-e5a159b3.mjs → index-8d67ef5d.mjs} +1144 -1147
  97. package/core/built/admin/assets/admin-x-settings/{index-e0bcf3fa.mjs → index-d4d158b7.mjs} +2 -2
  98. package/core/built/admin/assets/admin-x-settings/{modals-601aa38c.mjs → modals-ae924d1e.mjs} +2146 -2140
  99. package/core/built/admin/assets/{chunk.524.7a4d83ee591b8022ef58.js → chunk.524.c3472d95b4bd1a45a18d.js} +5 -5
  100. package/core/built/admin/assets/{chunk.582.709d41019645237a6018.js → chunk.582.c3f2b4d45f0b280c944c.js} +4 -4
  101. package/core/built/admin/assets/{chunk.763.6b160e403073ecabbfa6.js → chunk.763.bd01d249eecdcce3856c.js} +647 -649
  102. package/core/built/admin/assets/ghost-ab71ce6991cc9bdcd6b915a9c984fa27.css +1 -0
  103. package/core/built/admin/assets/ghost-dark-fd04889e3b6ac569d2158c740dbcb9c5.css +1 -0
  104. package/core/built/admin/assets/ghost-ea7a51891dfca9b7a04aacfffe7dea4e.js +1 -1
  105. package/core/built/admin/assets/{vendor-6b83da0c6e6fede335947219c59e1543.js → vendor-43a631b7c834235c4ff0b2186b5ca27d.js} +7 -9
  106. package/core/built/admin/index.html +5 -5
  107. package/core/server/api/endpoints/utils/serializers/output/mappers/posts.js +4 -0
  108. package/core/server/models/post.js +6 -0
  109. package/core/server/services/auth/api-key/admin.js +5 -10
  110. package/core/shared/config/defaults.json +1 -1
  111. package/package.json +147 -147
  112. package/yarn.lock +56 -54
  113. package/components/tryghost-adapter-cache-memory-ttl-5.80.0.tgz +0 -0
  114. package/components/tryghost-announcement-bar-settings-5.80.0.tgz +0 -0
  115. package/components/tryghost-bookshelf-repository-5.80.0.tgz +0 -0
  116. package/components/tryghost-collections-5.80.0.tgz +0 -0
  117. package/components/tryghost-constants-5.80.0.tgz +0 -0
  118. package/components/tryghost-custom-theme-settings-service-5.80.0.tgz +0 -0
  119. package/components/tryghost-domain-events-5.80.0.tgz +0 -0
  120. package/components/tryghost-dynamic-routing-events-5.80.0.tgz +0 -0
  121. package/components/tryghost-email-addresses-5.80.0.tgz +0 -0
  122. package/components/tryghost-email-content-generator-5.80.0.tgz +0 -0
  123. package/components/tryghost-email-service-5.80.0.tgz +0 -0
  124. package/components/tryghost-email-suppression-list-5.80.0.tgz +0 -0
  125. package/components/tryghost-express-dynamic-redirects-5.80.0.tgz +0 -0
  126. package/components/tryghost-extract-api-key-5.80.0.tgz +0 -0
  127. package/components/tryghost-i18n-5.80.0.tgz +0 -0
  128. package/components/tryghost-importer-revue-5.80.0.tgz +0 -0
  129. package/components/tryghost-in-memory-repository-5.80.0.tgz +0 -0
  130. package/components/tryghost-link-replacer-5.80.0.tgz +0 -0
  131. package/components/tryghost-link-tracking-5.80.0.tgz +0 -0
  132. package/components/tryghost-member-attribution-5.80.0.tgz +0 -0
  133. package/components/tryghost-members-csv-5.80.0.tgz +0 -0
  134. package/components/tryghost-members-payments-5.80.0.tgz +0 -0
  135. package/components/tryghost-mentions-email-report-5.80.0.tgz +0 -0
  136. package/components/tryghost-milestones-5.80.0.tgz +0 -0
  137. package/components/tryghost-model-to-domain-event-interceptor-5.80.0.tgz +0 -0
  138. package/components/tryghost-mw-api-version-mismatch-5.80.0.tgz +0 -0
  139. package/components/tryghost-mw-cache-control-5.80.0.tgz +0 -0
  140. package/components/tryghost-mw-update-user-last-seen-5.80.0.tgz +0 -0
  141. package/components/tryghost-mw-version-match-5.80.0.tgz +0 -0
  142. package/components/tryghost-mw-vhost-5.80.0.tgz +0 -0
  143. package/components/tryghost-nql-filter-expansions-5.80.0.tgz +0 -0
  144. package/components/tryghost-package-json-5.80.0.tgz +0 -0
  145. package/components/tryghost-post-events-5.80.0.tgz +0 -0
  146. package/components/tryghost-post-revisions-5.80.0.tgz +0 -0
  147. package/components/tryghost-posts-service-5.80.0.tgz +0 -0
  148. package/components/tryghost-recommendations-5.80.0.tgz +0 -0
  149. package/components/tryghost-referrers-5.80.0.tgz +0 -0
  150. package/components/tryghost-session-service-5.80.0.tgz +0 -0
  151. package/components/tryghost-slack-notifications-5.80.0.tgz +0 -0
  152. package/components/tryghost-stats-service-5.80.0.tgz +0 -0
  153. package/core/built/admin/assets/ghost-40f01556960b49381176bbfa19a89c9a.css +0 -1
  154. package/core/built/admin/assets/ghost-dark-a86f0499bf2697104213d035da3a3b4d.css +0 -1
  155. /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.5);
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.5);
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 table:not(.gist table) {
2202
- display: inline-block;
2203
- width: auto;
2204
- max-width: 100%;
2205
- overflow-x: auto;
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.6rem;
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:not(.gist table) td:first-child {
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:not(.gist table) th,
2243
- .gh-content table:not(.gist table) td {
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-light-gray);
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.1.2",
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
  },
@@ -14,7 +14,7 @@
14
14
  {{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
15
15
  </p>
16
16
  </div>
17
- {{> "email-subscription"}}
17
+ {{> "email-subscription" email_field_id="cta-email"}}
18
18
  </div>
19
19
  </section>
20
20
  {{/match}}
@@ -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 --}}
@@ -10,7 +10,7 @@
10
10
  {{/if}}
11
11
  </a>
12
12
  {{> "search-toggle"}}
13
- <button class="gh-burger gh-icon-button">
13
+ <button class="gh-burger gh-icon-button" aria-label="Menu">
14
14
  {{> "icons/burger"}}
15
15
  {{> "icons/close"}}
16
16
  </button>
@@ -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 width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/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 excerpt}}
25
- <p class="gh-card-excerpt is-body">{{excerpt}}</p>
24
+ {{#if custom_excerpt}}
25
+ <p class="gh-card-excerpt is-body">{{custom_excerpt}}</p>
26
26
  {{/if}}
27
- <footer class="gh-card-meta"><!--
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
- {{#get "posts" include="authors" filter="id:-{{post.id}}" limit="4" as |next|}}
64
- {{#if next}}
65
- <section class="gh-container is-grid gh-outer">
66
- <div class="gh-container-inner gh-inner">
67
- <h2 class="gh-container-title">Read more</h2>
68
- <div class="gh-feed">
69
- {{#foreach next}}
70
- {{> "post-card" lazyLoad=true}}
71
- {{/foreach}}
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
- </div>
74
- </section>
75
- {{/if}}
76
- {{/get}}
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-e5a159b3.mjs";
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-453ad684.mjs.map
2365
+ //# sourceMappingURL=CodeEditorView-78d4e20d.mjs.map