Skip to content

Commit

Permalink
Update CMS and config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebousan committed Nov 14, 2023
1 parent 148a0d6 commit 3244430
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect
github.com/hugolify/hugolify-example-site v1.0.19 // indirect
github.com/hugolify/hugolify-netlify-cms v1.8.1 // indirect
github.com/hugolify/hugolify-netlify-cms v1.8.2 // indirect
github.com/hugolify/hugolify-theme v1.7.37 // indirect
github.com/hugolify/hugolify-theme-casestudies v1.0.10 // indirect
github.com/hugolify/hugolify-theme-persons v1.3.6 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -2,8 +2,8 @@ github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+y
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/hugolify/hugolify-example-site v1.0.19 h1:GU5uHrF9o1SFtFqUhrqJTuDK63YOzRU9DDzcUdfMaro=
github.com/hugolify/hugolify-example-site v1.0.19/go.mod h1:tvFPv5uMeKzKQQEQmxo2RiceNGSqM3mkMZNxwfhtK9o=
github.com/hugolify/hugolify-netlify-cms v1.8.1 h1:jCk6USt2casQn5jmqh8ryaLiiROU4zGDKFWpu678blk=
github.com/hugolify/hugolify-netlify-cms v1.8.1/go.mod h1:Q7HNXBxIatKmA+mlG+3HbWUYApZnftOwFz6kevyg/HU=
github.com/hugolify/hugolify-netlify-cms v1.8.2 h1:a0+t8x9Ptj16JNKceyu7GChqDIlNOUuV+kUR9Uyo74U=
github.com/hugolify/hugolify-netlify-cms v1.8.2/go.mod h1:Q7HNXBxIatKmA+mlG+3HbWUYApZnftOwFz6kevyg/HU=
github.com/hugolify/hugolify-theme v1.7.37 h1:PwyjOnHbiLWN/EVEz0LYHzj+kks7l9WQ+Ntpo+zwSf0=
github.com/hugolify/hugolify-theme v1.7.37/go.mod h1:yDbH6g0BJAqjueFrZ13u2lC9gWsYuKDFjQirn805zvo=
github.com/hugolify/hugolify-theme-casestudies v1.0.10 h1:JNJUzR6k4DXsfmSH51Z0qjBF1TWq0Pvisw/b5fNUWt0=
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
@@ -1,9 +1,9 @@
[build]
command = "hugo --noChmod --gc --minify"
command = "yarn build"
publish = "public"

[build.environment]
HUGO_VERSION = "0.114.0"
HUGO_VERSION = "0.119.0"
GO_VERSION = "1.20.5"

[context.production.environment]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"watch": "hugo server",
"build": "hugo --gc --minify",
"build": "hugo --noChmod --gc --minify",
"update": "hugo mod get -u",
"tidy": "hugo mod tidy",
"clean": "hugo mod clean",
Expand Down
5 changes: 1 addition & 4 deletions postcss.config.js
Expand Up @@ -8,6 +8,7 @@ module.exports = {
'@fullhuman/postcss-purgecss': {
mode: 'all',
content: ['./hugo_stats.json'],
dynamicAttributes: ['aria-current', 'href', 'role'],
safelist: {
standard: [
'show',
Expand All @@ -21,10 +22,6 @@ module.exports = {
],
deep: [
/^tobii/
],
greedy: [
/^aria-current$/,
/^role$/
]
},
defaultExtractor: (content) => {
Expand Down

0 comments on commit 3244430

Please sign in to comment.