Udjust for blog no longer requiring a generated config file
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user