File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
app/views/pages/api/liquid Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- {% cache 'lsp-filters-json' %}
1+ {% assign cache_key = context .version | append: '-lsp-filters-json' %}
2+ {% cache cache_key %}
23 {%- capture url -%}https://deidcfp1yn7c2.cloudfront.net/platform_docs/{{ context .version }}/filters.json{%- endcapture -%}
34 {% assign data = url | download_file | parse_json: raw_text: true %}
45 {% render 'api/liquid/filters' , data: data %}
Original file line number Diff line number Diff line change 11{% cache 'lsp-objects-json' %}
2- {% render 'api/liquid/objects' %}
2+ {% render 'api/liquid/objects' %}
33{% endcache %}
Original file line number Diff line number Diff line change 1- {% cache 'lsp-tags-json' %}
2- {%- capture url -%}https://deidcfp1yn7c2.cloudfront.net/platform_docs/{{ context .version }}/tags.json{%- endcapture -%}
3- {% assign data = url | download_file | parse_json: raw_text: true %}
4- {% render 'api/liquid/tags' , data: data %}
1+ {% assign cache_key = context .version | append: '-lsp-tags-json' %}
2+ {% cache cache_key %}
3+ {%- capture url -%}https://deidcfp1yn7c2.cloudfront.net/platform_docs/{{ context .version }}/tags.json{%- endcapture -%}
4+ {% assign data = url | download_file | parse_json: raw_text: true %}
5+ {% render 'api/liquid/tags' , data: data %}
56{% endcache %}
You can’t perform that action at this time.
0 commit comments