Compare commits
No commits in common. "e7adf3c0bb4b830b4cfa70d3b1b7b5f337a7ed52" and "bf2c5edf786ea56a9ccca805950554963e56326a" have entirely different histories.
e7adf3c0bb
...
bf2c5edf78
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
title: "SuperMinimalCSS",
|
title: "SuperMinimalCSS",
|
||||||
description: "Superminimal Superminimal",
|
description: "Superminimal Superminimal",
|
||||||
lang: "fr",
|
lang: "fr",
|
||||||
theme: "auto", // "light", "dark" or "auto"
|
|
||||||
feed: "feed.xml",
|
feed: "feed.xml",
|
||||||
url: "http://localhost:8080"
|
url: "http://localhost:8080"
|
||||||
}
|
}
|
||||||
|
|
@ -53,12 +53,9 @@
|
||||||
<link rel="icon" href="/images/meta/favicon.ico" sizes="any">
|
<link rel="icon" href="/images/meta/favicon.ico" sizes="any">
|
||||||
<link rel="icon" href="/images/meta/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/images/meta/favicon.svg" type="image/svg+xml">
|
||||||
|
|
||||||
{% if site.theme == "auto" %}
|
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
|
|
||||||
<script>{% include "js/theme-toggle.js" %}</script>
|
<script>{% include "js/theme-toggle.js" %}</script>
|
||||||
{% else %}
|
|
||||||
<meta name="color-scheme" content={{site.theme}}>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
{% fetch "https://cdn.jsdelivr.net/npm/theme-toggles@4.10.1/css/around.min.css", "css" %}
|
{% fetch "https://cdn.jsdelivr.net/npm/theme-toggles@4.10.1/css/around.min.css", "css" %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{% if site.theme == "auto" %}
|
|
||||||
<button
|
<button
|
||||||
class="theme-toggle"
|
class="theme-toggle"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
@ -30,4 +29,3 @@
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
|
||||||
Loading…
Reference in a new issue