diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index ff7a6c44..baebb65c 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -567,10 +567,26 @@ select { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); } +@media (forced-colors: active) { + [type='checkbox']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='radio']:checked { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); } +@media (forced-colors: active) { + [type='radio']:checked { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus { border-color: transparent; background-color: currentColor; @@ -585,6 +601,14 @@ select { background-repeat: no-repeat; } +@media (forced-colors: active) { + [type='checkbox']:indeterminate { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; + } +} + [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus { border-color: transparent; background-color: currentColor; diff --git a/config.toml b/config.toml index 2c606472..50de704e 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,4 @@ [module.hugoVersion] extended = true min = "0.87.0" - max = "0.120.3" \ No newline at end of file + max = "0.120.4" \ No newline at end of file diff --git a/exampleSite/content/docs/partials/index.md b/exampleSite/content/docs/partials/index.md index f129028a..4af2a536 100644 --- a/exampleSite/content/docs/partials/index.md +++ b/exampleSite/content/docs/partials/index.md @@ -42,7 +42,7 @@ googleAnalytics = "G-MEASUREMENT_ID" ### Custom analytics providers -If you wish to use a different analytics provider on your website you can also override the analytics partial and provide your own script. Simply create the file `layouts/partials/analytics.html` in your project and it will automatically include it in the `` of the website. +If you wish to use a different analytics provider on your website you can also override the analytics partial and provide your own script. Simply create the file `layouts/partials/extend-head.html` in your project and it will automatically include it in the `` of the website. ## Comments diff --git a/exampleSite/content/users/ctulhu.me/feature.jpg b/exampleSite/content/users/ctulhu.me/feature.jpg new file mode 100644 index 00000000..56695b0b Binary files /dev/null and b/exampleSite/content/users/ctulhu.me/feature.jpg differ diff --git a/exampleSite/content/users/ctulhu.me/index.md b/exampleSite/content/users/ctulhu.me/index.md new file mode 100644 index 00000000..c1a75711 --- /dev/null +++ b/exampleSite/content/users/ctulhu.me/index.md @@ -0,0 +1,13 @@ +--- + title: "ctulhu.me" + tags: [Personal site] + externalUrl: "https://ctulhu.me" + date: 9932-08-08 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index d2906b6d..9961711e 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -468,5 +468,19 @@ "tags": [ "Personal Site" ] + }, + { + "title": "ctulhu.me", + "url": "https://ctulhu.me", + "tags": [ + "Personal site" + ] + }, + { + "title": "v-y-s.com", + "url": "https://v-y-s.com/", + "tags": [ + "Personal Site" + ] } ] diff --git a/exampleSite/content/users/v-y-s.com/feature.jpg b/exampleSite/content/users/v-y-s.com/feature.jpg new file mode 100644 index 00000000..46d8ad54 Binary files /dev/null and b/exampleSite/content/users/v-y-s.com/feature.jpg differ diff --git a/exampleSite/content/users/v-y-s.com/index.md b/exampleSite/content/users/v-y-s.com/index.md new file mode 100644 index 00000000..886fad15 --- /dev/null +++ b/exampleSite/content/users/v-y-s.com/index.md @@ -0,0 +1,13 @@ +--- + title: "v-y-s.com" + tags: [Personal Site] + externalUrl: "https://v-y-s.com/" + date: 9931-08-08 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- diff --git a/i18n/ru.yaml b/i18n/ru.yaml index ad0d0bd9..6c8390c2 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -60,7 +60,7 @@ sharing: email: "Отправить по электронной почте" facebook: "Поделиться через Facebook" linkedin: "Поделиться через LinkedIn" - pinterest: "PДобавить в Pinterest" + pinterest: "Добавить в Pinterest" reddit: "Отправить в Reddit" twitter: "Твитнуть в Twitter" diff --git a/package-lock.json b/package-lock.json index 797bfba8..919780b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "hugo-blowfish-theme", - "version": "2.44.0", + "version": "2.45.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.44.0", + "version": "2.45.0", "hasInstallScript": true, "license": "MIT", "dependencies": { "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", - "@tailwindcss/forms": "^0.5.6", + "@tailwindcss/forms": "^0.5.7", "commander": "^11.1.0" }, "devDependencies": { @@ -22,10 +22,10 @@ "jquery": "^3.7.1", "katex": "^0.16.9", "packery": "^2.1.2", - "prettier": "^3.0.3", + "prettier": "^3.1.0", "prettier-plugin-go-template": "^0.0.15", - "prettier-plugin-tailwindcss": "^0.5.6", - "puppeteer": "^21.4.1", + "prettier-plugin-tailwindcss": "^0.5.7", + "puppeteer": "^21.5.2", "rimraf": "^5.0.5", "tailwindcss": "^3.3.5", "tw-elements": "1.0.0", @@ -248,9 +248,9 @@ } }, "node_modules/@tailwindcss/forms": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.6.tgz", - "integrity": "sha512-Fw+2BJ0tmAwK/w01tEFL5TiaJBX1NLT1/YbWgvm7ws3Qcn11kiXxzNTEQDMs5V3mQemhB56l3u0i9dwdzSQldA==", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", + "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", "dependencies": { "mini-svg-data-uri": "^1.2.3" }, @@ -280,19 +280,19 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.8.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.8.tgz", - "integrity": "sha512-YRsdVxq6OaLfmR9Hy816IMp33xOBjfyOgUd77ehqg96CFywxAPbDbXvAsuN2KVg2HOT8Eh6uAfU+l4WffwPVrQ==", + "version": "20.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.4.tgz", + "integrity": "sha512-wmyg8HUhcn6ACjsn8oKYjkN/zUzQeNtMy44weTJSM6p4MMzEOuKbA3OjJ267uPCOW7Xex9dyrNTful8XTQYoDA==", "dev": true, "optional": true, "dependencies": { - "undici-types": "~5.25.1" + "undici-types": "~5.26.4" } }, "node_modules/@types/yauzl": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.2.tgz", - "integrity": "sha512-Km7XAtUIduROw7QPgvcft0lIupeG8a8rdKL8RiSyKvlE7dYY31fEn41HVuQsRFDuROA8tA4K2UVL+WdfFmErBA==", + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "dev": true, "optional": true, "dependencies": { @@ -593,9 +593,9 @@ } }, "node_modules/chromium-bidi": { - "version": "0.4.32", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.32.tgz", - "integrity": "sha512-RJnw0PW3sNdx1WclINVfVVx8JUH+tWTHZNpnEzlcM+Qgvf40dUH34U7gJq+cc/0LE+rbPxeT6ldqWrCbUf4jeg==", + "version": "0.4.33", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.33.tgz", + "integrity": "sha512-IxoFM5WGQOIAd95qrSXzJUv4eXIrh+RvU3rwwqIiwYuvfE7U/Llj4fejbsJnjJMUYCuGtVQsY2gv7oGl4aTNSQ==", "dev": true, "dependencies": { "mitt": "3.0.1", @@ -859,9 +859,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1191157", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1191157.tgz", - "integrity": "sha512-Fu2mUhX7zkzLHMJZk5wQTiHdl1eJrhK0GypUoSzogUt51MmYEv/46pCz4PtGGFlr0f2ZyYDzzx5CPtbEkuvcTA==", + "version": "0.0.1203626", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1203626.tgz", + "integrity": "sha512-nEzHZteIUZfGCZtTiS1fRpC8UZmsfD1SiyPvaUNvS13dvKf666OAm8YTi0+Ca3n1nLEyu49Cy4+dPWpaHFJk9g==", "dev": true }, "node_modules/didyoumean": { @@ -1999,9 +1999,9 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -2029,9 +2029,9 @@ } }, "node_modules/prettier-plugin-tailwindcss": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.6.tgz", - "integrity": "sha512-2Xgb+GQlkPAUCFi3sV+NOYcSI5XgduvDBL2Zt/hwJudeKXkyvRS65c38SB0yb9UB40+1rL83I6m0RtlOQ8eHdg==", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.7.tgz", + "integrity": "sha512-4v6uESAgwCni6YF6DwJlRaDjg9Z+al5zM4JfngcazMy4WEf/XkPS5TEQjbD+DZ5iNuG6RrKQLa/HuX2SYzC3kQ==", "dev": true, "engines": { "node": ">=14.21.3" @@ -2154,35 +2154,35 @@ } }, "node_modules/puppeteer": { - "version": "21.4.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.4.1.tgz", - "integrity": "sha512-opJqQeYMjAB3ICG8lCF3wtSs9k05dozmrEMrHgo3ZWbISiy8qbv/yAJz/6Io221qSh3yURfVf6Z7crrlzKZjLQ==", + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.5.2.tgz", + "integrity": "sha512-BaAGJOq8Fl6/cck6obmwaNLksuY0Bg/lIahCLhJPGXBFUD2mCffypa4A592MaWnDcye7eaHmSK9yot0pxctY8A==", "dev": true, "hasInstallScript": true, "dependencies": { "@puppeteer/browsers": "1.8.0", "cosmiconfig": "8.3.6", - "puppeteer-core": "21.4.1" + "puppeteer-core": "21.5.2" }, "engines": { - "node": ">=16.3.0" + "node": ">=16.13.2" } }, "node_modules/puppeteer-core": { - "version": "21.4.1", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.4.1.tgz", - "integrity": "sha512-Lh0e+oGhUquxVOi1U701gTfFLFvw5gDBFh3CWpnfAvtItmyZKUce4R54VNfOJfi+KKnzhVPdB/lDrg65gdRIng==", + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.5.2.tgz", + "integrity": "sha512-v4T0cWnujSKs+iEfmb8ccd7u4/x8oblEyKqplqKnJ582Kw8PewYAWvkH4qUWhitN3O2q9RF7dzkvjyK5HbzjLA==", "dev": true, "dependencies": { "@puppeteer/browsers": "1.8.0", - "chromium-bidi": "0.4.32", + "chromium-bidi": "0.4.33", "cross-fetch": "4.0.0", "debug": "4.3.4", - "devtools-protocol": "0.0.1191157", + "devtools-protocol": "0.0.1203626", "ws": "8.14.2" }, "engines": { - "node": ">=16.3.0" + "node": ">=16.13.2" } }, "node_modules/queue-microtask": { @@ -2454,9 +2454,9 @@ } }, "node_modules/streamx": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz", - "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==", + "version": "2.15.5", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.5.tgz", + "integrity": "sha512-9thPGMkKC2GctCzyCUjME3yR03x2xNo0GPKGkRw2UMYN+gqWa9uqpyNWhmsNCutU5zHmkUum0LsCRQTXUgUCAg==", "dev": true, "dependencies": { "fast-fifo": "^1.1.0", @@ -2946,9 +2946,9 @@ } }, "node_modules/undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 7f485d3b..d4bdb33e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.44.0", + "version": "2.45.0", "description": "Blowfish theme for Hugo", "scripts": { "fullinstall": "npm run preinstall && npm install && npm run postinstall", @@ -40,10 +40,10 @@ "jquery": "^3.7.1", "katex": "^0.16.9", "packery": "^2.1.2", - "prettier": "^3.0.3", + "prettier": "^3.1.0", "prettier-plugin-go-template": "^0.0.15", - "prettier-plugin-tailwindcss": "^0.5.6", - "puppeteer": "^21.4.1", + "prettier-plugin-tailwindcss": "^0.5.7", + "puppeteer": "^21.5.2", "rimraf": "^5.0.5", "tailwindcss": "^3.3.5", "tw-elements": "1.0.0", @@ -96,7 +96,7 @@ "dependencies": { "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", - "@tailwindcss/forms": "^0.5.6", + "@tailwindcss/forms": "^0.5.7", "commander": "^11.1.0" } }