summaryrefslogtreecommitdiff
path: root/_includes/snippets/prepend-baseurl.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/snippets/prepend-baseurl.html')
-rw-r--r--_includes/snippets/prepend-baseurl.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/snippets/prepend-baseurl.html b/_includes/snippets/prepend-baseurl.html
new file mode 100644
index 0000000..d5d24ef
--- /dev/null
+++ b/_includes/snippets/prepend-baseurl.html
@@ -0,0 +1,4 @@
+{%- assign _include_path_replace_index = include.path | replace: 'index.html', '' -%}
+{%- include snippets/prepend-path.html
+ path=_include_path_replace_index
+ prepend_path=site.baseurl -%} \ No newline at end of file