diff --git a/_includes/examples-header.html b/_includes/examples-header.html new file mode 100644 index 0000000..717108b --- /dev/null +++ b/_includes/examples-header.html @@ -0,0 +1,32 @@ +{% assign url_parts = page.url | split: "/" %} +{% assign dir = url_parts[-2] %} +{% assign filename = url_parts[-1] %} + + + + diff --git a/_layouts/example.html b/_layouts/example.html index a53a2c5..13ded41 100644 --- a/_layouts/example.html +++ b/_layouts/example.html @@ -6,13 +6,16 @@