Skip to content

Commit ae70d94

Browse files
committed
fix issue with hugo version compatibility
1 parent 2c09053 commit ae70d94

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

config/_default/hugo.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
######################## default configuration ####################
22
# Your theme name
3-
theme: dot-org-hugo-theme
3+
theme: "dot-org-hugo-theme"
44
# Title of your website (required).
55
title: "FodyDev // Promoting African culture through the opensource."
66
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
77
timeZone: "Africa/Douala"
8+
# Defines the minimum amount of words to reddened in a summary
9+
summaryLength: 50
810

911
######################## i18n ####################
1012
# Auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage

layouts/partials/head/custom-head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{ else }}
77
{{ $options = merge $options (dict "outputStyle" "nested" "enableSourceMap" true) }}
88
{{ end }}
9-
{{ $style := resources.Get $source | resources.ToCSS $options | resources.PostCSS (dict "config" "postcss.config.js") | resources.Fingerprint "sha512" }}
9+
{{ $style := resources.Get $source | toCSS $options | postCSS (dict "config" "postcss.config.js") | resources.Fingerprint "sha512" }}
1010
{{ if (eq .Kind "home") }}
1111
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" media="all">
1212
{{ end }}

0 commit comments

Comments
 (0)