mirror of
https://github.com/tabler/tabler.git
synced 2026-08-16 16:22:22 +04:00
charts code in footer, capture_global tag
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% capture_global scripts %}
|
||||
{% removeemptylines %}
|
||||
{% assign data = site.data.charts[include.chart-id] %}
|
||||
|
||||
@@ -127,3 +128,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endremoveemptylines %}
|
||||
{% endcapture_global %}
|
||||
|
||||
Reference in New Issue
Block a user