Templates documentation¶
Template dictionary¶
To replace all templates, just change your templates folder with the same filenames. If you wish to replace only one template, you need to use those keys :
TEMPLATES = {
"container": "container.html",
"menu": "menu.html",
"text": "text.html",
"textgroups": "textgroups.html",
"index": "index.html",
"texts": "texts.html",
"version": "version.html",
"passage_footer": "passage_footer.html"
}
index.html¶
textgroups.html¶
See r_collection in Nemo.api.r_collection
Variable Name | Details |
---|---|
textgroups | List of textgroups according to a collection |
texts.html¶
See r_texts in Nemo.api.r_texts
Variable Name | Details |
---|---|
texts | List of texts according to a textgroup |
version.html¶
See r_version in Nemo.api.r_version
Variable Name | Details |
---|---|
version | Version object with metadata about current text |
reffs | List of tuples where first element is a reference, second a human readable translation |
text.html¶
See r_passage in Nemo.api.r_passage