Closed misilot closed 5 months ago
Ok, so I think it might have been
INDIGO_FOOTER_LEGAL_LINKS: null
INDIGO_FOOTER_NAV_LINKS: null
no idea how they got set to that? but setting with tutor config save --set "INDIGO_FOOTER_NAV_LINKS=[]" --set "INDIGO_FOOTER_LEGAL_LINKS=[]"
it doesn't yell about the if statements not being closed (and setting actual values which I had thought I copied from production) it doesn't yell either.
However,
I am not seeing a nicely rendered footer
Ok, so I think what is happening is the CSS isn't being regenerated with tutor config save
? What needs to be run to generate the assets?
Just following up, that it might be generating some of it, but the bootstrap folder which exists in the original theme but not in a fork.
https://github.com/newliteraciesalliance/tutor-nla-theme/tree/nla-v17 here is my current code, which all I changed was the directory and plugin names.
@hinakhadim I think this can be considered as a bug. The footer does not render correctly when some of the variables are null
.
Unterminated control keyword: 'if' in file '/openedx/themes/indigo/lms/templates/footer.html' at line: 29 char: 1
Steps to reproduce: setup dev environment delete
env/build/openedx/themes/indigo
tutor config save which regenerates the theme in the envtry loading http://local.edly.io:8000/