Siteglide Scripts Explained
Teleporting Scripts to the Head and Footer with siteglide_head_scripts and siteglide_footer_scripts or using context.exports to avoid duplicates
Introduction
Head Scripts
{% content_for 'siteglide_head_scripts' %} <link rel="stylesheet" href="{{'css/modules/module_3/design_system/1/sidebar.min.css' | asset_url}}" />,,{% endcontent_for %}
{% include 'modules/siteglide_system/siteglide_head' -%}Footer Scripts
{%- content_for 'siteglide_footer_scripts' %} <link rel="stylesheet" href="{{ 'css/modules/module_9/custom.css' | asset_url}}" />,,{%- endcontent_for %}
{% include 'modules/siteglide_system/siteglide_foot' -%}Troubleshooting
Performance and Avoiding Duplicates
Using content_for with your own namespace
Alternatives - Using context.exports
Last updated
Was this helpful?

