File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ plugins:
132132 selfhost_download : true
133133 selfhost_dir : ' theme_override'
134134 reload_scripts :
135+ - ' #theme'
135136 - ' #autostart'
136137 password_file : ' passwords.yml'
137138 additional_storage_file : ' additional_storage.yaml'
Original file line number Diff line number Diff line change 1010 hljs . highlightElement ( el ) ;
1111 } ) ;
1212 MathJax . typesetPromise ( ) ;
13+ //small test for "additional variables in keystore"
14+ username = sessionStorage . getItem ( 'username' ) ;
15+ if ( username ) {
16+ document . getElementById ( 'show-user' ) . textContent = username ;
17+ }
1318}
1419if ( DOMContentLoaded_fired ) {
1520 runWhenDOMContentLoaded ( ) ;
2429{% endblock %}
2530
2631{%- block footer_ext %}
27- {%- if not config.theme.no_imprint %}
2832 < p class ="w3-right w3-tiny ">
33+ < span id ="show-user "> </ span >
34+ {%- if not config.theme.no_imprint %}
2935 {%- if i18n_config and i18n_page_locale == "en" %}
3036 < a href ="{{ (i18n_page_locale + '/imprint/') | url }} "> Imprint</ a >
3137 {%- else %}
3238 < a href ="{{ 'imprint/' | url }} "> Impressum</ a >
3339 {%- endif %}
34- </ p >
3540 {%- endif %}
41+ </ p >
3642{%- endblock %}
3743
3844{%- block top_buttons %}
You can’t perform that action at this time.
0 commit comments