diff --git a/documentation/_run/index.php b/documentation/_run/index.php
index 24c9ceab..139141c0 100644
--- a/documentation/_run/index.php
+++ b/documentation/_run/index.php
@@ -16,6 +16,8 @@
+
+
diff --git a/documentation/_run/router.php b/documentation/_run/router.php
index 9e8f228b..d86cb0aa 100644
--- a/documentation/_run/router.php
+++ b/documentation/_run/router.php
@@ -25,9 +25,10 @@
$file = '_run/404.php';
}
- // Defaults for title and description.
+ // Defaults
$title = "";
$description = "";
+ $canonical = "";
$package = json_decode(file_get_contents('./../package.json'));
$version = $package->version;
@@ -40,5 +41,9 @@
ob_end_clean();
+ if ($canonical) {
+ $canonical = 'https://refreshless.com'.$canonical;
+ }
+
$distribute = '/nouislider/distribute';
include '_run/index.php';
diff --git a/documentation/behaviour-option.php b/documentation/behaviour-option.php
index 92c398b8..31c6676b 100644
--- a/documentation/behaviour-option.php
+++ b/documentation/behaviour-option.php
@@ -1,6 +1,7 @@
Slider behaviour
diff --git a/documentation/contact.php b/documentation/contact.php
index 23b33468..41a63543 100644
--- a/documentation/contact.php
+++ b/documentation/contact.php
@@ -1,6 +1,7 @@
Contact
diff --git a/documentation/download.php b/documentation/download.php
index b8f921d6..f941abdf 100644
--- a/documentation/download.php
+++ b/documentation/download.php
@@ -1,6 +1,7 @@
Download noUiSlider
diff --git a/documentation/events-callbacks.php b/documentation/events-callbacks.php
index 5cb6ea0a..364be288 100644
--- a/documentation/events-callbacks.php
+++ b/documentation/events-callbacks.php
@@ -1,6 +1,7 @@
Events
diff --git a/documentation/examples.php b/documentation/examples.php
index afd8047f..26eb0580 100644
--- a/documentation/examples.php
+++ b/documentation/examples.php
@@ -1,6 +1,7 @@
diff --git a/documentation/index.php b/documentation/index.php
index ebcbcca6..d72b3084 100644
--- a/documentation/index.php
+++ b/documentation/index.php
@@ -1,6 +1,7 @@
diff --git a/documentation/more.php b/documentation/more.php
index 26b45b3a..f10aed55 100644
--- a/documentation/more.php
+++ b/documentation/more.php
@@ -1,6 +1,7 @@
diff --git a/documentation/pips.php b/documentation/pips.php
index 913e25af..575ee52b 100644
--- a/documentation/pips.php
+++ b/documentation/pips.php
@@ -1,6 +1,7 @@
Adding a scale/pips to a slider
diff --git a/documentation/reference.php b/documentation/reference.php
index 6310223d..5493d23a 100644
--- a/documentation/reference.php
+++ b/documentation/reference.php
@@ -1,6 +1,7 @@
diff --git a/documentation/slider-options.php b/documentation/slider-options.php
index aa290a51..e477d86a 100644
--- a/documentation/slider-options.php
+++ b/documentation/slider-options.php
@@ -1,6 +1,7 @@
Options
diff --git a/documentation/slider-read-write.php b/documentation/slider-read-write.php
index 78cae219..7d16bbcb 100644
--- a/documentation/slider-read-write.php
+++ b/documentation/slider-read-write.php
@@ -1,9 +1,7 @@
Getting and setting slider values
diff --git a/documentation/slider-values.php b/documentation/slider-values.php
index 8c33e530..83651567 100644
--- a/documentation/slider-values.php
+++ b/documentation/slider-values.php
@@ -1,6 +1,7 @@
Slider values