diff --git a/docs/_data/hueRanges.js b/docs/_data/hueRanges.js index 1f022b31b..63d7400a6 100644 --- a/docs/_data/hueRanges.js +++ b/docs/_data/hueRanges.js @@ -1 +1 @@ -export { hueRanges as default } from '../assets/scripts/tweak/data.js'; +export { hueRanges as default } from '../assets/data/index.js'; diff --git a/docs/_includes/head.njk b/docs/_includes/head.njk index c6bd79be7..215699f92 100644 --- a/docs/_includes/head.njk +++ b/docs/_includes/head.njk @@ -32,7 +32,8 @@ {# Preset Theme #} -{% if forceTheme %} +{% if noTheme %} +{% elif forceTheme %} {% else %} diff --git a/docs/_includes/page-card.njk b/docs/_includes/page-card.njk index b684a3487..d1111fcf0 100644 --- a/docs/_includes/page-card.njk +++ b/docs/_includes/page-card.njk @@ -1,5 +1,5 @@ {%- if not page.data.unlisted -%} - +{% if page.url %}{% endif %}
{% include "svgs/" + (page.data.icon or "thumbnail-placeholder") + ".njk" ignore missing %} @@ -9,5 +9,5 @@ {%- endif %} - +{% if page.url %}{% endif %} {% endif %} diff --git a/docs/_includes/theme-showcase.njk b/docs/_includes/theme-showcase.njk index ff4450985..66bfa4e2f 100644 --- a/docs/_includes/theme-showcase.njk +++ b/docs/_includes/theme-showcase.njk @@ -7,8 +7,8 @@
- - + + diff --git a/docs/_layouts/blank.njk b/docs/_layouts/blank.njk index b02206d95..74bf2477c 100644 --- a/docs/_layouts/blank.njk +++ b/docs/_layouts/blank.njk @@ -2,6 +2,7 @@ {% include 'head.njk' %} + {% block head %}{% endblock %} diff --git a/docs/_layouts/palette.njk b/docs/_layouts/palette.njk index b86bb8bf7..08b7fffe4 100644 --- a/docs/_layouts/palette.njk +++ b/docs/_layouts/palette.njk @@ -122,19 +122,8 @@