diff --git a/samples/highlight.html.njk b/samples/highlight.html.njk new file mode 100644 index 00000000..1f6b29b9 --- /dev/null +++ b/samples/highlight.html.njk @@ -0,0 +1,162 @@ +--- +pagination: + data: "collections.samples_ts" + alias: "sample" + size: 1 +permalink: /samples/{{ sample.fileSlug }}/highlight/highlight.html +--- + + + + Highlight + + + + + + + + +
+
+
+
+
+
+ + + + + + +
+ +
+
+
+
+
+

+                    
+
+

+                    
+
+

+                    
+
+

+                    
+
+
+
+
+
+ +
+
+ + + diff --git a/samples/index.html.njk b/samples/index.html.njk index 9c1b28a0..d2174e12 100644 --- a/samples/index.html.njk +++ b/samples/index.html.njk @@ -185,7 +185,6 @@ permalink: /index.html let activeCard, activeElement, config; function setSource(event, src, title, name, targetElement) { - console.log(event, src, title, name, targetElement); if (event) { event.stopPropagation(); } @@ -193,8 +192,6 @@ permalink: /index.html config.set("sample", name); window.history.replaceState({}, "", `${document.location.pathname}?${config}`); - console.log(config); - const iframe = document.getElementById("iframe"); const path = document.getElementById("path"); @@ -221,18 +218,22 @@ permalink: /index.html {% set initialSample=collections.samples_ts|sort(false, true, 'fileSlug')|first %} -{% set initialURL="./samples/" + initialSample.data.name + "/iframe/index.html" %} +{% set initialURL="./samples/" + initialSample.data.name + "/highlight/highlight.html" %} {% set initialTitle=initialSample.data.title %} {% set initialName=initialSample.data.name %}