Compare commits

...

7 Commits

@ -1 +1,2 @@
use nix
layout node

@ -4,5 +4,6 @@ pkgs.mkShell {
buildInputs = [
pkgs.hugo
pkgs.nodejs
pkgs.git-crypt
];
}

@ -8,7 +8,8 @@
<meta name="description" content="{{ . }}" />
{{ end }}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ $twbssass := resources.Get "styles/mix-twbs.scss" | resources.ToCSS | minify | resources.PostProcess }}
{{ $twbssass := resources.Get "styles/mix-twbs.scss" }}
{{ $twbssass = $twbssass | resources.ToCSS | resources.PostCSS | minify | resources.PostProcess }}
<link href="{{ $twbssass.RelPermalink }}" rel="stylesheet" />
</head>

2519
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -15,6 +15,7 @@
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@openfonts/nunito-sans_all": "^1.44.2",
"@popperjs/core": "^2.11.4",
"bootstrap": "^5.1.3",
@ -24,7 +25,7 @@
"jquery-mask-plugin": "^1.14.16",
"masonry-layout": "^4.2.2",
"postcss": "^8.4.12",
"postcss-purgecss": "^2.0.3"
"postcss-cli": "^10.1.0"
},
"devDependencies": {
"husky": "^8.0.1",

@ -1,4 +1,4 @@
const purgecss = require("postcss-purgecss")({
const purgecss = require("@fullhuman/postcss-purgecss")({
content: ["./hugo_stats.json"],
defaultExtractor: (content) => {
let els = JSON.parse(content).htmlElements;

Loading…
Cancel
Save