mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-13 09:16:06 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
c63804006d | |||
65d0104224 | |||
ba10cb1516 | |||
d7ca6fd2f6 | |||
10f11bb14f | |||
7d4f93bf23 | |||
11f61782ad | |||
fd108b1b40 | |||
33005666ca | |||
1767ca59b8 |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
240
assets/css/csscomb.json
Normal file
240
assets/css/csscomb.json
Normal file
@ -0,0 +1,240 @@
|
|||||||
|
{
|
||||||
|
"remove-empty-rulesets": true,
|
||||||
|
"always-semicolon": true,
|
||||||
|
"color-case": "lower",
|
||||||
|
"block-indent": " ",
|
||||||
|
"color-shorthand": true,
|
||||||
|
"element-case": "lower",
|
||||||
|
"eof-newline": true,
|
||||||
|
"leading-zero": true,
|
||||||
|
"quotes": "double",
|
||||||
|
"space-before-colon": "",
|
||||||
|
"space-after-colon": " ",
|
||||||
|
"space-before-combinator": " ",
|
||||||
|
"space-after-combinator": " ",
|
||||||
|
"space-between-declarations": "\n",
|
||||||
|
"space-before-opening-brace": " ",
|
||||||
|
"space-after-opening-brace": "\n",
|
||||||
|
"space-after-selector-delimiter": "\n",
|
||||||
|
"space-before-selector-delimiter": "",
|
||||||
|
"space-before-closing-brace": "\n",
|
||||||
|
"strip-spaces": true,
|
||||||
|
"tab-size": 4,
|
||||||
|
"unitless-zero": true,
|
||||||
|
"sort-order": [ [
|
||||||
|
"content",
|
||||||
|
"visibility",
|
||||||
|
"position",
|
||||||
|
"top",
|
||||||
|
"right",
|
||||||
|
"bottom",
|
||||||
|
"left",
|
||||||
|
"z-index",
|
||||||
|
"order",
|
||||||
|
"flex",
|
||||||
|
"flex-grow",
|
||||||
|
"flex-shrink",
|
||||||
|
"flex-basis",
|
||||||
|
"align-self",
|
||||||
|
"display",
|
||||||
|
"flex-flow",
|
||||||
|
"flex-direction",
|
||||||
|
"justify-content",
|
||||||
|
"align-items",
|
||||||
|
"align-content",
|
||||||
|
"flex-wrap",
|
||||||
|
"flex-order",
|
||||||
|
"flex-pack",
|
||||||
|
"flex-align",
|
||||||
|
"float",
|
||||||
|
"clear",
|
||||||
|
"box-sizing",
|
||||||
|
"width",
|
||||||
|
"height",
|
||||||
|
"min-width",
|
||||||
|
"min-height",
|
||||||
|
"max-width",
|
||||||
|
"max-height",
|
||||||
|
"overflow",
|
||||||
|
"overflow-x",
|
||||||
|
"overflow-y",
|
||||||
|
"clip",
|
||||||
|
"margin",
|
||||||
|
"margin-top",
|
||||||
|
"margin-right",
|
||||||
|
"margin-bottom",
|
||||||
|
"margin-left",
|
||||||
|
"padding",
|
||||||
|
"padding-top",
|
||||||
|
"padding-right",
|
||||||
|
"padding-bottom",
|
||||||
|
"padding-left",
|
||||||
|
"outline",
|
||||||
|
"outline-width",
|
||||||
|
"outline-style",
|
||||||
|
"outline-color",
|
||||||
|
"outline-offset",
|
||||||
|
"border",
|
||||||
|
"border-spacing",
|
||||||
|
"border-collapse",
|
||||||
|
"border-width",
|
||||||
|
"border-style",
|
||||||
|
"border-color",
|
||||||
|
"border-top",
|
||||||
|
"border-top-width",
|
||||||
|
"border-top-style",
|
||||||
|
"border-top-color",
|
||||||
|
"border-right",
|
||||||
|
"border-right-width",
|
||||||
|
"border-right-style",
|
||||||
|
"border-right-color",
|
||||||
|
"border-bottom",
|
||||||
|
"border-bottom-width",
|
||||||
|
"border-bottom-style",
|
||||||
|
"border-bottom-color",
|
||||||
|
"border-left",
|
||||||
|
"border-left-width",
|
||||||
|
"border-left-style",
|
||||||
|
"border-left-color",
|
||||||
|
"border-image",
|
||||||
|
"border-image-source",
|
||||||
|
"border-image-slice",
|
||||||
|
"border-image-width",
|
||||||
|
"border-image-outset",
|
||||||
|
"border-image-repeat",
|
||||||
|
"border-top-image",
|
||||||
|
"border-right-image",
|
||||||
|
"border-bottom-image",
|
||||||
|
"border-left-image",
|
||||||
|
"border-corner-image",
|
||||||
|
"border-top-left-image",
|
||||||
|
"border-top-right-image",
|
||||||
|
"border-bottom-right-image",
|
||||||
|
"border-bottom-left-image",
|
||||||
|
"table-layout",
|
||||||
|
"caption-side",
|
||||||
|
"empty-cells",
|
||||||
|
"list-style",
|
||||||
|
"list-style-position",
|
||||||
|
"list-style-type",
|
||||||
|
"list-style-image",
|
||||||
|
"quotes",
|
||||||
|
"counter-increment",
|
||||||
|
"counter-reset",
|
||||||
|
"vertical-align",
|
||||||
|
"stroke",
|
||||||
|
"fill",
|
||||||
|
"stroke-width",
|
||||||
|
"stroke-opacity",
|
||||||
|
"color",
|
||||||
|
"font",
|
||||||
|
"font-family",
|
||||||
|
"font-size",
|
||||||
|
"line-height",
|
||||||
|
"font-weight",
|
||||||
|
"font-style",
|
||||||
|
"font-variant",
|
||||||
|
"font-size-adjust",
|
||||||
|
"font-stretch",
|
||||||
|
"text-rendering",
|
||||||
|
"font-feature-settings",
|
||||||
|
"letter-spacing",
|
||||||
|
"hyphens",
|
||||||
|
"text-align",
|
||||||
|
"text-align-last",
|
||||||
|
"text-decoration",
|
||||||
|
"text-emphasis",
|
||||||
|
"text-emphasis-position",
|
||||||
|
"text-emphasis-style",
|
||||||
|
"text-emphasis-color",
|
||||||
|
"text-indent",
|
||||||
|
"text-justify",
|
||||||
|
"text-outline",
|
||||||
|
"text-transform",
|
||||||
|
"text-wrap",
|
||||||
|
"text-overflow",
|
||||||
|
"text-overflow-ellipsis",
|
||||||
|
"text-overflow-mode",
|
||||||
|
"text-shadow",
|
||||||
|
"white-space",
|
||||||
|
"word-spacing",
|
||||||
|
"word-wrap",
|
||||||
|
"word-break",
|
||||||
|
"tab-size",
|
||||||
|
"user-select",
|
||||||
|
"src",
|
||||||
|
"resize",
|
||||||
|
"cursor",
|
||||||
|
"nav-index",
|
||||||
|
"nav-up",
|
||||||
|
"nav-right",
|
||||||
|
"nav-down",
|
||||||
|
"nav-left",
|
||||||
|
"background",
|
||||||
|
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
||||||
|
"background-color",
|
||||||
|
"background-image",
|
||||||
|
"background-size",
|
||||||
|
"background-attachment",
|
||||||
|
"background-position",
|
||||||
|
"background-position-x",
|
||||||
|
"background-position-y",
|
||||||
|
"background-clip",
|
||||||
|
"background-origin",
|
||||||
|
"background-repeat",
|
||||||
|
"border-radius",
|
||||||
|
"border-top-left-radius",
|
||||||
|
"border-top-right-radius",
|
||||||
|
"border-bottom-right-radius",
|
||||||
|
"border-bottom-left-radius",
|
||||||
|
"box-decoration-break",
|
||||||
|
"box-shadow",
|
||||||
|
"opacity",
|
||||||
|
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
||||||
|
"filter",
|
||||||
|
"transition",
|
||||||
|
"transition-delay",
|
||||||
|
"transition-timing-function",
|
||||||
|
"transition-duration",
|
||||||
|
"transition-property",
|
||||||
|
"transform",
|
||||||
|
"transform-origin",
|
||||||
|
"animation",
|
||||||
|
"animation-name",
|
||||||
|
"animation-duration",
|
||||||
|
"animation-play-state",
|
||||||
|
"animation-timing-function",
|
||||||
|
"animation-delay",
|
||||||
|
"animation-iteration-count",
|
||||||
|
"animation-direction",
|
||||||
|
"animation-fill-mode",
|
||||||
|
"pointer-events",
|
||||||
|
"unicode-bidi",
|
||||||
|
"direction",
|
||||||
|
"columns",
|
||||||
|
"column-span",
|
||||||
|
"column-width",
|
||||||
|
"column-count",
|
||||||
|
"column-fill",
|
||||||
|
"column-gap",
|
||||||
|
"column-rule",
|
||||||
|
"column-rule-width",
|
||||||
|
"column-rule-style",
|
||||||
|
"column-rule-color",
|
||||||
|
"break-before",
|
||||||
|
"break-inside",
|
||||||
|
"break-after",
|
||||||
|
"page-break-before",
|
||||||
|
"page-break-inside",
|
||||||
|
"page-break-after",
|
||||||
|
"orphans",
|
||||||
|
"widows",
|
||||||
|
"zoom",
|
||||||
|
"max-zoom",
|
||||||
|
"min-zoom",
|
||||||
|
"user-zoom",
|
||||||
|
"orientation",
|
||||||
|
"-webkit-overflow-scrolling",
|
||||||
|
"-ms-overflow-scrolling"
|
||||||
|
] ]
|
||||||
|
}
|
@ -36,8 +36,8 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-position: center center;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-position: center center;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,9 +59,9 @@ body {
|
|||||||
|
|
||||||
/* Centered content container blocks */
|
/* Centered content container blocks */
|
||||||
.inner {
|
.inner {
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 1040px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 1040px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Usage:
|
/* Usage:
|
||||||
@ -81,12 +81,12 @@ body {
|
|||||||
.home-template .post-feed,
|
.home-template .post-feed,
|
||||||
.tag-template .post-feed,
|
.tag-template .post-feed,
|
||||||
.author-template .post-feed {
|
.author-template .post-feed {
|
||||||
margin-top: -110px;
|
margin-top: -70px;
|
||||||
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
.home-template .site-nav {
|
.home-template .site-nav {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -70px;
|
top: -70px;
|
||||||
z-index: 300;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -134,15 +134,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-header-content {
|
.site-header-content {
|
||||||
position: relative;
|
|
||||||
z-index: 300;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10vw 4vw;
|
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
|
padding: 10vw 4vw;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -181,12 +179,12 @@ body {
|
|||||||
|
|
||||||
.site-nav {
|
.site-nav {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 100;
|
z-index: 300;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
overflow-y: hidden;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
overflow-y: hidden;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -199,7 +197,6 @@ body {
|
|||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
letter-spacing: 0.4px;
|
letter-spacing: 0.4px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
-ms-overflow-scrolling: touch;
|
-ms-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
@ -216,6 +213,7 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
display: block;
|
display: block;
|
||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
|
padding: 9px 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
@ -337,19 +335,19 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rss-button svg {
|
.rss-button svg {
|
||||||
margin-bottom: 1px;
|
|
||||||
height: 2.1rem;
|
height: 2.1rem;
|
||||||
|
margin-bottom: 1px;
|
||||||
fill: #fff;
|
fill: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
.site-header {
|
.site-header {
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
.site-nav-left {
|
.site-nav-left {
|
||||||
padding-left: 4vw;
|
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
padding-left: 4vw;
|
||||||
}
|
}
|
||||||
.site-nav-right {
|
.site-nav-right {
|
||||||
display: none;
|
display: none;
|
||||||
@ -362,7 +360,6 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
|||||||
|
|
||||||
.post-feed {
|
.post-feed {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 200;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 0 -20px;
|
margin: 0 -20px;
|
||||||
@ -373,9 +370,9 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
|||||||
flex: 1 1 300px;
|
flex: 1 1 300px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: 300px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0 20px 40px;
|
margin: 0 20px 40px;
|
||||||
min-height: 300px;
|
|
||||||
background: #fff center center;
|
background: #fff center center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -442,9 +439,9 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
|||||||
}
|
}
|
||||||
|
|
||||||
.author-profile-image {
|
.author-profile-image {
|
||||||
margin-right: 5px;
|
|
||||||
width: 25px;
|
width: 25px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
|
margin-right: 5px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -533,9 +530,9 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
/* ^ Required to make .post-full-content:before/after z-index stacking work */
|
/* ^ Required to make .post-full-content:before/after z-index stacking work */
|
||||||
|
|
||||||
.post-full-header {
|
.post-full-header {
|
||||||
|
max-width: 1040px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 6vw 3vw 3vw;
|
padding: 6vw 3vw 3vw;
|
||||||
max-width: 1040px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -564,8 +561,8 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-full-image {
|
.post-full-image {
|
||||||
margin: 0 -10vw -165px;
|
|
||||||
height: 800px;
|
height: 800px;
|
||||||
|
margin: 0 -10vw -165px;
|
||||||
background: var(--lightgrey) center center;
|
background: var(--lightgrey) center center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -573,8 +570,8 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
|
|
||||||
@media (max-width: 1170px) {
|
@media (max-width: 1170px) {
|
||||||
.post-full-image {
|
.post-full-image {
|
||||||
margin: 0 -4vw -100px;
|
|
||||||
height: 600px;
|
height: 600px;
|
||||||
|
margin: 0 -4vw -100px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -587,9 +584,9 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
|
|
||||||
.post-full-content {
|
.post-full-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
min-height: 230px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 70px 100px 0;
|
padding: 70px 100px 0;
|
||||||
min-height: 230px;
|
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
@ -699,8 +696,8 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
.post-full-content img,
|
.post-full-content img,
|
||||||
.post-full-content video {
|
.post-full-content video {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1.5em auto;
|
|
||||||
max-width: 1040px;
|
max-width: 1040px;
|
||||||
|
margin: 1.5em auto;
|
||||||
}
|
}
|
||||||
@media (max-width: 1040px) {
|
@media (max-width: 1040px) {
|
||||||
.post-full-content img,
|
.post-full-content img,
|
||||||
@ -709,15 +706,36 @@ The first (most recent) post in the list is styled to be bigger than the others
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
If an image url has #full on the end, give it special wide styles.
|
/* Full bleed images (#full)
|
||||||
Super neat trick courtesy of @JoelDrapper
|
Super neat trick courtesy of @JoelDrapper
|
||||||
|
|
||||||
|
Usage (In Ghost edtior):
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
*/
|
*/
|
||||||
.post-full-content img[src$="#full"] {
|
.post-full-content img[src$="#full"] {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Image captions
|
||||||
|
|
||||||
|
Usage (In Ghost editor):
|
||||||
|
|
||||||
|

|
||||||
|
<small>Your image caption</small>
|
||||||
|
|
||||||
|
*/
|
||||||
|
.post-full-content br + small {
|
||||||
|
display: block;
|
||||||
|
margin-top: -3em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.post-full-content iframe {
|
.post-full-content iframe {
|
||||||
margin: 0 auto 1.5em;
|
margin: 0 auto 1.5em;
|
||||||
}
|
}
|
||||||
@ -742,8 +760,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
@media (min-width: 1000px) {
|
@media (min-width: 1000px) {
|
||||||
.post-full-content blockquote {
|
.post-full-content blockquote {
|
||||||
max-width: 1060px;
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
max-width: 1060px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -761,10 +779,10 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content pre {
|
.post-full-content pre {
|
||||||
|
max-width: 100%;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
margin: 1.5em 0 3em;
|
margin: 1.5em 0 3em;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
max-width: 100%;
|
|
||||||
border: color(var(--darkgrey) l(-10%)) 1px solid;
|
border: color(var(--darkgrey) l(-10%)) 1px solid;
|
||||||
color: var(--whitegrey);
|
color: var(--whitegrey);
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
@ -794,9 +812,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
top: -15px;
|
top: -15px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: -10px;
|
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
margin-left: -10px;
|
||||||
background: color(var(--lightgrey) l(+10%));
|
background: color(var(--lightgrey) l(+10%));
|
||||||
box-shadow: #fff 0 0 0 5px;
|
box-shadow: #fff 0 0 0 5px;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
@ -808,8 +826,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
.post-full-content h4,
|
.post-full-content h4,
|
||||||
.post-full-content h5,
|
.post-full-content h5,
|
||||||
.post-full-content h6 {
|
.post-full-content h6 {
|
||||||
padding-top: 75px;
|
|
||||||
margin-top: -75px;
|
margin-top: -75px;
|
||||||
|
padding-top: 75px;
|
||||||
color: color(var(--darkgrey) l(-5%));
|
color: color(var(--darkgrey) l(-5%));
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
}
|
}
|
||||||
@ -891,47 +909,48 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
/* Tables */
|
/* Tables */
|
||||||
.post-full-content table {
|
.post-full-content table {
|
||||||
display: table;
|
display: inline-block;
|
||||||
width: 100%;
|
width: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: nowrap;
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
margin: 0.5em 0 2.5em;
|
margin: 0.5em 0 2.5em;
|
||||||
|
border-spacing: 0;
|
||||||
|
border-collapse: collapse;
|
||||||
|
vertical-align: top;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content table {
|
.post-full-content table {
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
|
background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
|
||||||
background-size: 10px 100%, 10px 100%;
|
background-size: 10px 100%, 10px 100%;
|
||||||
background-attachment: scroll, scroll;
|
background-attachment: scroll, scroll;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content table td:first-child {
|
.post-full-content table td:first-child {
|
||||||
background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
|
background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 20px 100%;
|
background-size: 20px 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content table td:last-child {
|
.post-full-content table td:last-child {
|
||||||
background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
|
background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: 100% 0;
|
|
||||||
background-size: 20px 100%;
|
background-size: 20px 100%;
|
||||||
|
background-position: 100% 0;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content table th {
|
.post-full-content table th {
|
||||||
font-size: 1.2rem;
|
|
||||||
letter-spacing: 0.2px;
|
|
||||||
color: var(--darkgrey);
|
color: var(--darkgrey);
|
||||||
|
font-size: 1.2rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.2px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
background: color(var(--whitegrey) l(+4%));
|
background-color: color(var(--whitegrey) l(+4%));
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-full-content table th,
|
.post-full-content table th,
|
||||||
@ -940,16 +959,6 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
border: color(var(--whitegrey) l(-1%) s(-5%)) 1px solid;
|
border: color(var(--whitegrey) l(-1%) s(-5%)) 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 800px) {
|
|
||||||
.post-full-content table {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: top;
|
|
||||||
max-width: 100%;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 7.1. Subscribe Form
|
/* 7.1. Subscribe Form
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
@ -984,8 +993,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 420px;
|
max-width: 420px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscribe-form .form-group {
|
.subscribe-form .form-group {
|
||||||
@ -994,8 +1003,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.subscribe-email {
|
.subscribe-email {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding: 10px;
|
||||||
border: color(var(--lightgrey) l(+7%)) 1px solid;
|
border: color(var(--lightgrey) l(+7%)) 1px solid;
|
||||||
color: var(--midgrey);
|
color: var(--midgrey);
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
@ -1015,9 +1024,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.subscribe-form button {
|
.subscribe-form button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
height: 41px;
|
||||||
margin: 0 0 0 10px;
|
margin: 0 0 0 10px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
height: 41px;
|
|
||||||
outline: none;
|
outline: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
@ -1072,9 +1081,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
max-width: 840px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 3vw 0 6vw 0;
|
padding: 3vw 0 6vw 0;
|
||||||
max-width: 840px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-card {
|
.author-card {
|
||||||
@ -1083,9 +1092,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
.author-card .author-profile-image {
|
.author-card .author-profile-image {
|
||||||
margin-right: 15px;
|
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-card-name {
|
.author-card-name {
|
||||||
@ -1137,8 +1146,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
.post-full-comments {
|
.post-full-comments {
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 840px;
|
max-width: 840px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1223,9 +1232,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.read-next-divider svg {
|
.read-next-divider svg {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
fill: transparent;
|
|
||||||
stroke: #fff;
|
stroke: #fff;
|
||||||
|
fill: transparent;
|
||||||
stroke-width: 0.5px;
|
stroke-width: 0.5px;
|
||||||
stroke-opacity: 0.65;
|
stroke-opacity: 0.65;
|
||||||
}
|
}
|
||||||
@ -1243,8 +1251,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: center;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-next-card-content li {
|
.read-next-card-content li {
|
||||||
@ -1260,9 +1268,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
display: block;
|
display: block;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
border-bottom: rgba(255,255,255,0.3) 1px solid;
|
border-bottom: rgba(255,255,255,0.3) 1px solid;
|
||||||
|
vertical-align: top;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
vertical-align: top;
|
|
||||||
transition: opacity 0.3s ease;
|
transition: opacity 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1324,8 +1332,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: var(--darkgrey);
|
color: var(--darkgrey);
|
||||||
font-weight: 700;
|
|
||||||
line-height: 1.1em;
|
line-height: 1.1em;
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.floating-header-logo a:hover {
|
.floating-header-logo a:hover {
|
||||||
@ -1333,8 +1341,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
.floating-header-logo img {
|
.floating-header-logo img {
|
||||||
margin: 0 10px 0 0;
|
|
||||||
max-height: 20px;
|
max-height: 20px;
|
||||||
|
margin: 0 10px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.floating-header-divider {
|
.floating-header-divider {
|
||||||
@ -1385,9 +1393,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
.floating-header-share-label svg {
|
.floating-header-share-label svg {
|
||||||
margin: 0 5px 0 10px;
|
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
margin: 0 5px 0 10px;
|
||||||
stroke: rgba(0,0,0,0.7);
|
stroke: rgba(0,0,0,0.7);
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
@ -1492,16 +1500,16 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.site-header-content .author-profile-image {
|
.site-header-content .author-profile-image {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin: 0 0 20px 0;
|
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
margin: 0 0 20px 0;
|
||||||
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
|
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-header-content .author-bio {
|
.site-header-content .author-bio {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin: 5px 0 10px 0;
|
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
margin: 5px 0 10px 0;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@ -1652,8 +1660,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
.subscribe-overlay-description {
|
.subscribe-overlay-description {
|
||||||
margin: 0 auto 50px;
|
|
||||||
max-width: 650px;
|
max-width: 650px;
|
||||||
|
margin: 0 auto 50px;
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
@ -1665,8 +1673,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscribe-overlay .form-group {
|
.subscribe-overlay .form-group {
|
||||||
@ -1675,8 +1683,8 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.subscribe-overlay .subscribe-email {
|
.subscribe-overlay .subscribe-email {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 14px 20px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding: 14px 20px;
|
||||||
border: none;
|
border: none;
|
||||||
color: var(--midgrey);
|
color: var(--midgrey);
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
@ -1697,9 +1705,9 @@ Super neat trick courtesy of @JoelDrapper
|
|||||||
|
|
||||||
.subscribe-overlay button {
|
.subscribe-overlay button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
height: 52px;
|
||||||
margin: 0 0 0 15px;
|
margin: 0 0 0 15px;
|
||||||
padding: 0 25px;
|
padding: 0 25px;
|
||||||
height: 52px;
|
|
||||||
outline: none;
|
outline: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
|
56
error-404.hbs
Normal file
56
error-404.hbs
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
{{!--
|
||||||
|
This error template is used for all 404 errors, which might occur on your site.
|
||||||
|
It's a good idea to keep this template as minimal as possible in terms of both file size and complexity.
|
||||||
|
--}}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>{{meta_title}}</title>
|
||||||
|
<meta name="HandheldFriendly" content="True" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
|
||||||
|
</head>
|
||||||
|
<body class="error-template">
|
||||||
|
<div class="site-wrapper">
|
||||||
|
|
||||||
|
<header class="site-header outer {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}no-cover{{/if}}">
|
||||||
|
<div class="inner">
|
||||||
|
<nav class="site-nav-center">
|
||||||
|
{{#if @blog.logo}}
|
||||||
|
<a class="site-nav-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
|
||||||
|
{{else}}
|
||||||
|
<a class="site-nav-logo" href="{{@blog.url}}">{{@blog.title}}</a>
|
||||||
|
{{/if}}
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="site-main" class="site-main outer" role="main">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<section class="error-message">
|
||||||
|
<h1 class="error-code">{{code}}</h1>
|
||||||
|
<p class="error-description">{{message}}</p>
|
||||||
|
<a class="error-link" href="{{@blog.url}}">Go to the front page →</a>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{#get "posts" limit="3"}}
|
||||||
|
<aside class="outer">
|
||||||
|
<div class="inner">
|
||||||
|
<div class="post-feed">
|
||||||
|
{{#foreach posts}}
|
||||||
|
{{> "post-card"}}
|
||||||
|
{{/foreach}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
{{/get}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
17
error.hbs
17
error.hbs
@ -1,5 +1,7 @@
|
|||||||
{{!--
|
{{!--
|
||||||
This error template is used for all 400/500 errors which might occur on your site. It's a good idea to keep this template as minimal as possible in terms of both file size and complexity. You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in this file.
|
This error template is used for all 400/500 errors, except 404, which might occur on your site.
|
||||||
|
It's a good idea to keep this template as minimal as possible in terms of both file size and complexity.
|
||||||
|
You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in this file.
|
||||||
--}}
|
--}}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@ -56,19 +58,6 @@ This error template is used for all 400/500 errors which might occur on your sit
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{#get "posts" limit="3"}}
|
|
||||||
<aside class="outer">
|
|
||||||
<div class="inner">
|
|
||||||
<div class="post-feed">
|
|
||||||
{{#foreach posts}}
|
|
||||||
{{> "post-card"}}
|
|
||||||
{{/foreach}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
{{/get}}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
"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.0.2",
|
"version": "2.0.3",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=1.0.0"
|
"ghost": ">=1.2.0"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"screenshots": {
|
"screenshots": {
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
<div class="post-card-content">
|
<div class="post-card-content">
|
||||||
<a class="post-card-content-link" href="{{url}}">
|
<a class="post-card-content-link" href="{{url}}">
|
||||||
<header class="post-card-header">
|
<header class="post-card-header">
|
||||||
{{#if tags}}
|
{{#if primary_tag}}
|
||||||
<span class="post-card-tags">{{tags.[0].name}}</span>
|
<span class="post-card-tags">{{primary_tag.name}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<h2 class="post-card-title">{{title}}</h2>
|
<h2 class="post-card-title">{{title}}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
18
post.hbs
18
post.hbs
@ -20,9 +20,9 @@ into the {body} of the default.hbs template --}}
|
|||||||
<header class="post-full-header">
|
<header class="post-full-header">
|
||||||
<section class="post-full-meta">
|
<section class="post-full-meta">
|
||||||
<time class="post-full-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMMM YYYY"}}</time>
|
<time class="post-full-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMMM YYYY"}}</time>
|
||||||
{{#if tags}}
|
{{#primary_tag}}
|
||||||
<span class="date-divider">/</span> <a href="{{@blog.url}}/tag/{{tags.[0].slug}}">{{tags.[0].name}}</a>
|
<span class="date-divider">/</span> <a href="{{url}}">{{name}}</a>
|
||||||
{{/if}}
|
{{/primary_tag}}
|
||||||
</section>
|
</section>
|
||||||
<h1 class="post-full-title">{{title}}</h1>
|
<h1 class="post-full-title">{{title}}</h1>
|
||||||
</header>
|
</header>
|
||||||
@ -102,11 +102,11 @@ into the {body} of the default.hbs template --}}
|
|||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="read-next-feed">
|
<div class="read-next-feed">
|
||||||
|
|
||||||
{{#get "posts" filter="tags:{{tags.[0].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"
|
||||||
{{#if ../tags.[0].feature_image}}
|
{{#if ../primary_tag.feature_image}}
|
||||||
style="background-image: url({{../tags.[0].feature_image}})"
|
style="background-image: url({{../primary_tag.feature_image}})"
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if @blog.cover_image}}
|
{{#if @blog.cover_image}}
|
||||||
style="background-image: url({{@blog.cover_image}})"{{/if}}
|
style="background-image: url({{@blog.cover_image}})"{{/if}}
|
||||||
@ -114,7 +114,9 @@ into the {body} of the default.hbs template --}}
|
|||||||
>
|
>
|
||||||
<header class="read-next-card-header">
|
<header class="read-next-card-header">
|
||||||
<small class="read-next-card-header-sitetitle">— {{@blog.title}} —</small>
|
<small class="read-next-card-header-sitetitle">— {{@blog.title}} —</small>
|
||||||
<h3 class="read-next-card-header-title"><a href="{{@blog.url}}/tag/{{../tags.[0].slug}}/">{{../tags.[0].name}}</a></h3>
|
{{#../primary_tag}}
|
||||||
|
<h3 class="read-next-card-header-title"><a href="{{url}}">{{name}}</a></h3>
|
||||||
|
{{/../primary_tag}}
|
||||||
</header>
|
</header>
|
||||||
<div class="read-next-divider">{{> "icons/infinity"}}</div>
|
<div class="read-next-divider">{{> "icons/infinity"}}</div>
|
||||||
<div class="read-next-card-content">
|
<div class="read-next-card-content">
|
||||||
@ -125,7 +127,7 @@ into the {body} of the default.hbs template --}}
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<footer class="read-next-card-footer">
|
<footer class="read-next-card-footer">
|
||||||
<a href="{{@blog.url}}/tag/{{../tags.[0].slug}}/">{{plural meta.pagination.total empty='No posts' singular='% post' plural='See all % posts'}} →</a>
|
<a href="{{#../primary_tag}}{{url}}{{/../primary_tag}}">{{plural meta.pagination.total empty='No posts' singular='% post' plural='See all % posts'}} →</a>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Reference in New Issue
Block a user