Merge branch 'TryGhost-main' into v5.4.2-merge
0
.devcontainer/Dockerfile
Normal file → Executable file
0
.devcontainer/base.Dockerfile
Normal file → Executable file
0
.devcontainer/devcontainer.json
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
2
assets/built/casper.js
Normal file → Executable file
0
assets/built/casper.js.map
Normal file → Executable file
0
assets/built/global.css
Normal file → Executable file
0
assets/built/global.css.map
Normal file → Executable file
2
assets/built/screen.css
Normal file → Executable file
2
assets/built/screen.css.map
Normal file → Executable file
0
assets/css/global.css
Normal file → Executable file
37
assets/css/screen.css
Normal file → Executable file
@ -273,7 +273,7 @@ production stylesheet in assets/built/screen.css
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-template.has-cover .gh-head {
|
:is(.home-template, .paged:not(.tag-template):not(.author-template)).has-cover .gh-head {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@ -1145,6 +1145,41 @@ make sure this only happens on large viewports / desktop-ish devices.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Pagination
|
||||||
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
|
.pagination {
|
||||||
|
display: none;
|
||||||
|
grid-template-columns: 1fr auto 1fr;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 8vmin;
|
||||||
|
}
|
||||||
|
|
||||||
|
html.no-infinite-scroll .pagination {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a {
|
||||||
|
font-size: 1.7rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination .page-number {
|
||||||
|
grid-column-start: 2;
|
||||||
|
color: var(--color-secondary-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination .older-posts {
|
||||||
|
grid-column-start: 3;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.pagination .page-number {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* 7. Single Post
|
/* 7. Single Post
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|||||||
0
assets/js/dropdown.js
Normal file → Executable file
2
assets/js/infinite-scroll.js
Normal file → Executable file
@ -14,6 +14,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
(function (window, document) {
|
(function (window, document) {
|
||||||
|
if (document.documentElement.classList.contains('no-infinite-scroll')) return;
|
||||||
|
|
||||||
// next link element
|
// next link element
|
||||||
var nextElement = document.querySelector('link[rel=next]');
|
var nextElement = document.querySelector('link[rel=next]');
|
||||||
if (!nextElement) {
|
if (!nextElement) {
|
||||||
|
|||||||
0
assets/js/lib/imagesloaded.pkgd.min.js
vendored
Normal file → Executable file
0
assets/js/lib/jquery.fitvids.js
Normal file → Executable file
0
assets/screenshot-desktop.jpg
Normal file → Executable file
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
0
assets/screenshot-mobile.jpg
Normal file → Executable file
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
8
author.hbs
Normal file → Executable file
@ -2,7 +2,9 @@
|
|||||||
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
||||||
|
|
||||||
<main id="site-main" class="site-main outer">
|
<main id="site-main" class="site-main outer">
|
||||||
<div class="post-feed inner">
|
<div class="inner posts">
|
||||||
|
|
||||||
|
<div class="post-feed">
|
||||||
|
|
||||||
{{#author}}
|
{{#author}}
|
||||||
<section class="post-card post-card-large">
|
<section class="post-card post-card-large">
|
||||||
@ -66,5 +68,9 @@
|
|||||||
{{> "post-card"}}
|
{{> "post-card"}}
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{pagination}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
0
default.hbs
Normal file → Executable file
0
error-404.hbs
Normal file → Executable file
0
gulpfile.js
Normal file → Executable file
2
index.hbs
Normal file → Executable file
@ -48,5 +48,7 @@ into the {body} of the default.hbs template --}}
|
|||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{pagination}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
2
package.json
Normal file → Executable file
@ -2,7 +2,7 @@
|
|||||||
"name": "casper-aytac",
|
"name": "casper-aytac",
|
||||||
"description": "A clean, minimal default theme for the Ghost publishing platform with little modifications by Aytac",
|
"description": "A clean, minimal default theme for the Ghost publishing platform with little modifications by Aytac",
|
||||||
"demo": "https://aytac.kirmizi.online",
|
"demo": "https://aytac.kirmizi.online",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=5.0.0"
|
"ghost": ">=5.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
0
partials/icons/avatar.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 309 B |
0
partials/icons/facebook.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
0
partials/icons/fire.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 540 B |
0
partials/icons/loader.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 923 B After Width: | Height: | Size: 933 B |
0
partials/icons/lock.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 936 B |
0
partials/icons/rss.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 264 B |
0
partials/icons/search.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
0
partials/icons/twitter.hbs
Normal file → Executable file
|
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 752 B |
0
partials/post-card.hbs
Normal file → Executable file
3
tag.hbs
Normal file → Executable file
@ -30,5 +30,8 @@
|
|||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{pagination}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||