diff --git a/docs/src/_data/site.js b/docs/src/_data/site.js index c55da90..ee150c2 100644 --- a/docs/src/_data/site.js +++ b/docs/src/_data/site.js @@ -6,6 +6,5 @@ export default { name: "Ronan Berder", x: "@hunvreus" }, - url: process.env.ELEVENTY_ENV === 'development' ? "http://localhost:8080" : "https://basecoatui.com", - version: "0.2" + url: process.env.ELEVENTY_ENV === 'development' ? "http://localhost:8080" : "https://basecoatui.com" }; \ No newline at end of file diff --git a/docs/src/components/combobox.njk b/docs/src/components/combobox.njk index 696de54..aabbf7c 100644 --- a/docs/src/components/combobox.njk +++ b/docs/src/components/combobox.njk @@ -56,7 +56,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/dropdown-menu.njk b/docs/src/components/dropdown-menu.njk index a69f0b6..37d410b 100644 --- a/docs/src/components/dropdown-menu.njk +++ b/docs/src/components/dropdown-menu.njk @@ -86,7 +86,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/popover.njk b/docs/src/components/popover.njk index 213269b..cfcbbf9 100644 --- a/docs/src/components/popover.njk +++ b/docs/src/components/popover.njk @@ -69,7 +69,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/select.njk b/docs/src/components/select.njk index 544897c..7591c6e 100644 --- a/docs/src/components/select.njk +++ b/docs/src/components/select.njk @@ -88,7 +88,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/sidebar.njk b/docs/src/components/sidebar.njk index a8e4ca8..fc14bc1 100644 --- a/docs/src/components/sidebar.njk +++ b/docs/src/components/sidebar.njk @@ -32,7 +32,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/tabs.njk b/docs/src/components/tabs.njk index 320933a..fec51fd 100644 --- a/docs/src/components/tabs.njk +++ b/docs/src/components/tabs.njk @@ -85,7 +85,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/components/toast.njk b/docs/src/components/toast.njk index 355f4e6..ae6793c 100644 --- a/docs/src/components/toast.njk +++ b/docs/src/components/toast.njk @@ -67,7 +67,7 @@ toc:

You can either include the JavaScript file for all the components, or just the one for this component by adding this to the <head> of your page:

-{% set code_script %}{% endset %} +{% set code_script %}{% endset %} {{ code_block(code_script | prettyHtml, "html") }}
diff --git a/docs/src/installation.njk b/docs/src/installation.njk index 406e52e..2b1a241 100644 --- a/docs/src/installation.njk +++ b/docs/src/installation.njk @@ -39,8 +39,8 @@ toc:

Add the following to the <head> of your HTML file:

-{% set code %} -{% endset %} +{% set code %} +{% endset %} {{ code_block(code, "html") }}

Install specific components

@@ -49,8 +49,8 @@ toc:

While the JavaScript file for all components is small (around 3kB gzipped), you can cherry-pick the components you need as instructed in the component's page (Dropdown Menu, Popover, Select, Sidebar, Tabs and Toast). For example, to add the Dropdown Menu component, add the following to the <head> of your HTML file:

-{% set code %} -{% endset %} +{% set code %} +{% endset %} {{ code_block(code, "html") }}

Install using NPM