{% capture snippet_basename %}{{ include.snippet_path | split:"/" | last }}{% endcapture %} {% capture snippet_id %}{{ include.snippet_path | replace:'/','_' | replace:'.','_' }}{% endcapture %}