Udjust for blog no longer requiring a generated config file
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
1c3436fdc3
commit
9ea42f306b
|
@ -23,7 +23,7 @@ echo 'resumeStaticFile = "/Resume-Danila-Fedorin.pdf"' >> config-urls.toml
|
|||
cp -r $webFiles/* static/
|
||||
|
||||
# Build site with Hugo
|
||||
hugo $hugoFlags --config=config.toml,config-urls.toml,config-gen.toml
|
||||
hugo $hugoFlags --config=config.toml,config-urls.toml
|
||||
|
||||
# Create generated files
|
||||
# Can't do submodules because nix flake inputs get their .git deleted
|
||||
|
@ -32,7 +32,7 @@ stork build --input public/index.toml --output static/index.st # Search index
|
|||
cp $resume/Resume-Danila-Fedorin.pdf static/Resume-Danila-Fedorin.pdf
|
||||
|
||||
# Static folder changed, re-run Hugo
|
||||
hugo $hugoFlags --config=config.toml,config-urls.toml,config-gen.toml
|
||||
hugo $hugoFlags --config=config.toml,config-urls.toml
|
||||
|
||||
# Output result
|
||||
mkdir $out
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
"blog-source": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1715748192,
|
||||
"narHash": "sha256-RB6olL+QUbYWDtTNggcWxy/iX1H595pC3eP7xdq4+/I=",
|
||||
"lastModified": 1715899953,
|
||||
"narHash": "sha256-XvEQ8vdu3OhjnsKaL097Rs/5+e0rkJGjgjsEezS1gJI=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "60d3b3025a3b2caaeb1ddd569f9f32d3453e241b",
|
||||
"revCount": 748,
|
||||
"rev": "a29bca499f766e112b56b717e920b6b438cfd361",
|
||||
"revCount": 749,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://dev.danilafe.com/Web-Projects/blog-static.git"
|
||||
|
|
Loading…
Reference in New Issue
Block a user