Merge branch 'TryGhost:main' into main
This commit is contained in:
commit
22b315bf75
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2013-2022 Ghost Foundation
|
||||
Copyright (c) 2013-2023 Ghost Foundation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
@ -35,4 +35,4 @@ This repo is synced automatically with [TryGhost/Themes](https://github.com/TryG
|
||||
|
||||
## Copyright & License
|
||||
|
||||
Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
|
||||
Copyright (c) 2013-2023 Ghost Foundation - Released under the [MIT license](LICENSE).
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -14,6 +14,7 @@
|
||||
--head-nav-gap: 32px;
|
||||
--container-width: 1440px;
|
||||
--content-font-size: clamp(1.7rem, 0.38vw + 1.4rem, 2rem);
|
||||
--header-spacing: clamp(4.8rem, 4rem + 2.5vw, 8rem);
|
||||
}
|
||||
|
||||
:root.has-light-text {
|
||||
|
@ -89,11 +89,11 @@
|
||||
"zip": "gulp zip"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tryghost/shared-theme-assets": "2.3.2",
|
||||
"autoprefixer": "10.4.14",
|
||||
"@tryghost/shared-theme-assets": "2.4.0",
|
||||
"autoprefixer": "10.4.15",
|
||||
"beeper": "2.1.0",
|
||||
"cssnano": "6.0.1",
|
||||
"gscan": "4.37.3",
|
||||
"gscan": "4.37.5",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-concat": "2.6.1",
|
||||
"gulp-livereload": "4.0.2",
|
||||
|
16
page.hbs
16
page.hbs
@ -5,13 +5,15 @@
|
||||
<main class="gh-main gh-outer">
|
||||
<div class="gh-inner">
|
||||
<article class="gh-article {{post_class}}">
|
||||
<header class="gh-article-header gh-canvas">
|
||||
<h1 class="gh-article-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
{{> "feature-image"}}
|
||||
</header>
|
||||
{{#match @page.show_title_and_feature_image}}
|
||||
<header class="gh-article-header gh-canvas">
|
||||
<h1 class="gh-article-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
{{> "feature-image"}}
|
||||
</header>
|
||||
{{/match}}
|
||||
|
||||
<section class="gh-content gh-canvas">
|
||||
{{content}}
|
||||
|
Loading…
Reference in New Issue
Block a user