{% assign para_file = include.file | default: "main.scss" %} {% assign para_path = include.path | default: "assets/css/" %} {% assign para_hash = include.hash | default: "sha384" %} {% assign filename_no_path = para_file | split: "/" | last %} {% assign source_file = "/" | append: para_path | append: para_file %} {% assign source_file_ex = para_file | split: "." | last %} {% assign path_no_filename = para_file | remove: filename_no_path %} {% assign target_file_ex = para_file | replace: ".scss", ".css" %} {% assign target_file = para_path | append: target_file_ex %} {% assign integrity_file = "/integrity/" | append: para_file | append: "." | append: para_hash %} {% comment %}{% raw %} {% endraw %}{% endcomment %} {% case source_file_ex %} {% when "css" %} {% when "scss" %} {% else %} {% endcase %} {% comment %}{% raw %} {% assign trainling_slash = para_path | slice: -1, 1 %} {% if trainling_slash = "/" %} {% endraw %}{% endcomment %}