Static Files โ
Location
/etc/projectConfigs/
โโcorpus-1/
โโsearch.xml
โโhelp.inc
โโabout.inc
โโarticle.xsl
โโmeta.xsl
โโstatic/
| โโlocales/
| | โโen-us.json
| | โโ...
| โโ...
โโcorpus-2/
โโcorpus-3/
โโ...
โโdefault/
| โโsearch.xml
| โโ...
โโ...
<--- The location set in the corporaInterfaceDataDir setting
<--- Exact name/ID of the corpus as in BlackLab
ย
ย
ย
ย
ย
ย
<--- Language files for the interface, specific to this corpus
ย
ย
<--- Anything else you want to make available client-side
ย
ย
ย
<--- Fallbacks / Defaults go here
ย
ย
ย
The /static
directory is for any files you want to make available to the browser/client, any custom JS, CSS, fonts, logos, etc.
Urls are mapped to /${context_url:blacklab-frontend}/${corpus_id}/static/
For example /blacklab-frontend/MyCorpus/static/path/to/my.file
.