mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
Refactors JS & Fixes
"Uncaught TypeError: Cannot read property 'siteApi' of undefined" error.
This commit is contained in:
parent
00010a3a58
commit
fe72accf9b
4 changed files with 19 additions and 27 deletions
5
_includes/globals_js_data.html
Normal file
5
_includes/globals_js_data.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<script>
|
||||
window.globals = {
|
||||
siteApi : "{{ site.api }}"
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue