diff --git a/static/images/nothumb.svg b/static/images/nothumb.svg new file mode 100644 index 0000000..5393abb --- /dev/null +++ b/static/images/nothumb.svg @@ -0,0 +1,2566 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No image + + + + + + + + + + + + + + + + + diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index e6fbfc1..bc7bb86 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -756,7 +756,7 @@ h5,h6{ } .post-card-image{ width:100%; - height:200px; + height:100%; -o-object-fit:cover; object-fit:cover } @@ -1690,7 +1690,7 @@ h5,h6{ display:flex; flex-wrap:wrap; margin:0 -25px; - padding:60px 0 0 + padding:30px 0 0 } .read-next-card{ position:relative; @@ -1727,6 +1727,25 @@ h5,h6{ } } } +.read-next-section-header h3{ + margin:0; + color:hsla(0,0%,100%,.6); + font-family:Mustica Pro; + font-size:2rem; + line-height:1em; + font-weight:300; + letter-spacing:.4px; + padding-top: 30px; + a{ + color:#fff; + font-weight:500; + text-decoration:none; + opacity:.8; + &:hover{ + opacity:1; + } + } +} .read-next-card-content{ font-size:1.7rem; & ul{ diff --git a/themes/hugo-casper3/layouts/partials/post-card.html b/themes/hugo-casper3/layouts/partials/post-card.html index 986024d..d61c222 100644 --- a/themes/hugo-casper3/layouts/partials/post-card.html +++ b/themes/hugo-casper3/layouts/partials/post-card.html @@ -8,6 +8,10 @@ {{ .context.Title }} + {{ else }} + + {{ .context.Title }} + {{ end }}
diff --git a/themes/hugo-casper3/layouts/partials/post-navigation.html b/themes/hugo-casper3/layouts/partials/post-navigation.html index f9afa4e..2ac76af 100644 --- a/themes/hugo-casper3/layouts/partials/post-navigation.html +++ b/themes/hugo-casper3/layouts/partials/post-navigation.html @@ -1,9 +1,13 @@ \ No newline at end of file +