Commit 78431bc5 authored by Lars Hupel's avatar Lars Hupel
Browse files

sitegen: move templates from `admin` to `metadata`

parent 55b056930e75
......@@ -115,6 +115,6 @@ echo "Installing dependencies ..."
echo "Running sitegen ..."
"$PYTHON" admin/sitegen-lib/ --dest=web \
--templates=admin/sitegen-lib/templates \
--templates=metadata/templates \
metadata thys "$@"
......@@ -10,7 +10,11 @@ shift
cd "$(dirname "$0")/.."
admin/sitegen-lib/ --dest=web --templates=admin/sitegen-lib/templates --status="$STATUS_FILE" --deps="$DEPS_FILE" metadata thys "$@"
admin/sitegen-lib/ --dest=web \
--templates=metadata/templates \
--status="$STATUS_FILE" \
--deps="$DEPS_FILE" \
metadata thys "$@"
mkdir -p release
echo "Packing tars ..."
......@@ -6,7 +6,7 @@ The web site is generated by a set of Python scripts. As input, they take
- the metadata of the entries (as specified in the `metadata` folder),
- dependencies between entries (as generated by the `afp_dependencies` tool),
- static templates (in `admin/sitegen-lib/templates`)
- static templates (in `metadata/templates`)
The output will be written to the `web` folder, which is supposed to be
committed into the repository. It can be inspected by opening any of the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment