Compare commits
7 commits
3fc66b2583
...
301444cec1
Author | SHA1 | Date | |
---|---|---|---|
301444cec1 | |||
86f22d1abd | |||
bd7e8234a2 | |||
69d6a1ec6a | |||
702d2bb160 | |||
a9361a3665 | |||
f245861f24 |
6 changed files with 799 additions and 1724 deletions
1
.envrc
1
.envrc
|
@ -1 +1,2 @@
|
||||||
use nix
|
use nix
|
||||||
|
layout node
|
||||||
|
|
|
@ -4,5 +4,6 @@ pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.hugo
|
pkgs.hugo
|
||||||
pkgs.nodejs
|
pkgs.nodejs
|
||||||
|
pkgs.git-crypt
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
<meta name="description" content="{{ . }}" />
|
<meta name="description" content="{{ . }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<title>{{ .Title }} - {{ .Site.Title }}</title>
|
<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" />
|
<link href="{{ $twbssass.RelPermalink }}" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
2503
package-lock.json
generated
2503
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -15,6 +15,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
||||||
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
||||||
|
"@fullhuman/postcss-purgecss": "^5.0.0",
|
||||||
"@openfonts/nunito-sans_all": "^1.44.2",
|
"@openfonts/nunito-sans_all": "^1.44.2",
|
||||||
"@popperjs/core": "^2.11.4",
|
"@popperjs/core": "^2.11.4",
|
||||||
"bootstrap": "^5.1.3",
|
"bootstrap": "^5.1.3",
|
||||||
|
@ -24,7 +25,7 @@
|
||||||
"jquery-mask-plugin": "^1.14.16",
|
"jquery-mask-plugin": "^1.14.16",
|
||||||
"masonry-layout": "^4.2.2",
|
"masonry-layout": "^4.2.2",
|
||||||
"postcss": "^8.4.12",
|
"postcss": "^8.4.12",
|
||||||
"postcss-purgecss": "^2.0.3"
|
"postcss-cli": "^10.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const purgecss = require("postcss-purgecss")({
|
const purgecss = require("@fullhuman/postcss-purgecss")({
|
||||||
content: ["./hugo_stats.json"],
|
content: ["./hugo_stats.json"],
|
||||||
defaultExtractor: (content) => {
|
defaultExtractor: (content) => {
|
||||||
let els = JSON.parse(content).htmlElements;
|
let els = JSON.parse(content).htmlElements;
|
||||||
|
|
Loading…
Reference in a new issue