From 9ea42f306b05ab570e8d3a8f4e2d856dc5e2cc60 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 16 May 2024 23:08:27 +0000 Subject: [PATCH] Udjust for blog no longer requiring a generated config file Signed-off-by: Danila Fedorin --- build/builder.sh | 4 ++-- flake.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/builder.sh b/build/builder.sh index 123b362..2d875ce 100644 --- a/build/builder.sh +++ b/build/builder.sh @@ -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 diff --git a/flake.lock b/flake.lock index 32a15db..ca3bb6b 100644 --- a/flake.lock +++ b/flake.lock @@ -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"