feat(catalog): add CATALOG_DEFAULT_EXPANDED to expand repositories by default (#302)

closes #302
This commit is contained in:
Joxit 2023-05-21 10:13:59 +02:00
parent 9ebbbc3518
commit 5a340291c2
No known key found for this signature in database
GPG key ID: F526592B8E012263
7 changed files with 10 additions and 3 deletions

View file

@ -12,6 +12,7 @@ sed -i "s~\${SHOW_CATALOG_NB_TAGS}~${SHOW_CATALOG_NB_TAGS}~" index.html
sed -i "s~\${HISTORY_CUSTOM_LABELS}~${HISTORY_CUSTOM_LABELS}~" index.html
sed -i "s~\${USE_CONTROL_CACHE_HEADER}~${USE_CONTROL_CACHE_HEADER}~" index.html
sed -i "s~\${TAGLIST_ORDER}~${TAGLIST_ORDER}~" index.html
sed -i "s~\${CATALOG_DEFAULT_EXPANDED}~${CATALOG_DEFAULT_EXPANDED}~" index.html
grep -o 'THEME[A-Z_]*' index.html | while read e; do
sed -i "s~\${$e}~$(printenv $e)~" index.html