13 lines
247 B
Bash
13 lines
247 B
Bash
source $stdenv/setup
|
|
|
|
# Build site with Hugo
|
|
cp -r $src/* .
|
|
hugo --baseUrl="https://danilafe.com"
|
|
|
|
# Render math in HTML and XML files.
|
|
find public/ -regex "public/.*\.html" | xargs ruby $converter
|
|
|
|
# Output result
|
|
mkdir $out
|
|
cp -r public/* $out/
|