Compare commits

..

No commits in common. "301444cec16be28b34c022a32e1c393a15b642d7" and "3fc66b25835289d2511c9571556096612b60b5ab" have entirely different histories.

6 changed files with 1722 additions and 797 deletions

1
.envrc
View file

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

View file

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

View file

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

2509
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,6 @@
"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",
@ -25,7 +24,7 @@
"jquery-mask-plugin": "^1.14.16",
"masonry-layout": "^4.2.2",
"postcss": "^8.4.12",
"postcss-cli": "^10.1.0"
"postcss-purgecss": "^2.0.3"
},
"devDependencies": {
"husky": "^8.0.1",

View file

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