mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-30 01:26:04 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5ec77dfb31 | |||
269d2b5787 | |||
d1d0bca2d8 | |||
d92dda3523 |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -485,6 +485,7 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image-link {
|
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
border-radius: 5px 0 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image {
|
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "casper",
|
"name": "casper",
|
||||||
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
|
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
|
||||||
"demo": "https://demo.ghost.io",
|
"demo": "https://demo.ghost.io",
|
||||||
"version": "2.1.0",
|
"version": "2.1.2",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=1.2.0"
|
"ghost": ">=1.2.0"
|
||||||
},
|
},
|
||||||
|
3
post.hbs
3
post.hbs
@ -101,7 +101,7 @@ into the {body} of the default.hbs template --}}
|
|||||||
<aside class="read-next outer">
|
<aside class="read-next outer">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="read-next-feed">
|
<div class="read-next-feed">
|
||||||
|
{{#if primary_tag}}
|
||||||
{{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}}
|
{{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}}
|
||||||
{{#if related_posts}}
|
{{#if related_posts}}
|
||||||
<article class="read-next-card"
|
<article class="read-next-card"
|
||||||
@ -132,6 +132,7 @@ into the {body} of the default.hbs template --}}
|
|||||||
</article>
|
</article>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/get}}
|
{{/get}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{!-- If there's a next post, display it using the same markup included from - partials/post-card.hbs --}}
|
{{!-- If there's a next post, display it using the same markup included from - partials/post-card.hbs --}}
|
||||||
{{#next_post}}
|
{{#next_post}}
|
||||||
|
Reference in New Issue
Block a user