Add site/ scripts
This commit is contained in:
parent
f1521a7dbf
commit
3f2f9cebee
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
# update-data.sh - update "dynamic" data for zola
|
||||
# adding functions:
|
||||
# - write a function that outputs the data you want as toml to
|
||||
# /bread/site/static/.
|
||||
# - add that function to the main() function below.
|
||||
# - comment a LOT!
|
||||
|
||||
main() {
|
||||
# dispatcher function.
|
||||
# this will run everything else.
|
||||
}
|
||||
|
||||
# utilities
|
||||
|
||||
toml_output() { # toml_output FILE ARRAY_ITEMS
|
||||
# stupid toml outputter.
|
||||
# outputs ARRAY_ITEMS as a toml array to FILE.
|
||||
# adds warning comment and stuff.
|
Loading…
Reference in New Issue