Skip to content

Commit 0e0d696

Browse files
committed
Updates for feature deprecation
1 parent fea4664 commit 0e0d696

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
baseurl = "https://cinderblock.github.io"
22
languageCode = "en-us"
33
theme = "stack"
4-
paginate = 5
4+
[pagination]
5+
pagerSize = 10
56
title = "Cinderblock"
67
googleAnalytics = "G-SJ16DM3169"
78
DefaultContentLanguage = "en"

themes/stack/layouts/partials/comments/provider/disqusjs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- $disqusjs := .Site.Params.Comments.disqusjs -}}
33
{{- if and (not $pc.Disable) (and $disqusjs.Shortname $disqusjs.ApiKey) -}}
44

5-
{{- $style := resources.Get "scss/partials/comments/disqusjs.scss" | resources.ToCSS | minify -}}
5+
{{- $style := resources.Get "scss/partials/comments/disqusjs.scss" | css.Sass | minify -}}
66
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
77

88
<div class="disqus-container">

themes/stack/layouts/partials/head/opengraph/provider/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
<meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/>
3333
{{- end -}}
3434
{{- else -}}
35-
{{- if not .Site.LastChange.IsZero -}}
36-
<meta property='og:updated_time' content='{{ .Site.LastChange.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
35+
{{- if not .Site.Lastmod.IsZero -}}
36+
<meta property='og:updated_time' content='{{ .Site.Lastmod.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
3737
{{- end -}}
3838
{{- end -}}
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{ $sass := resources.Get "scss/style.scss" }}
2-
{{ $style := $sass | resources.ToCSS | minify | resources.Fingerprint "sha256" }}
2+
{{ $style := $sass | css.Sass | minify | resources.Fingerprint "sha256" }}
33
<link rel="stylesheet" href="{{ $style.RelPermalink }}">

0 commit comments

Comments
 (0)