Commit Graph

3267 Commits

Author SHA1 Message Date
Served Smart
65a50ff643 Only generate css classes for used repo colors
This in most cases will reduce the size of main.bundle.css dramatically. Before I had around ~+32kB, now it is ~+228B
2025-07-09 19:19:10 +02:00
Served Smart
cc2e90233a ♻️ Refactor: Use universal json and move styles out of line 2025-07-09 19:18:54 +02:00
Nuno C.
8d940881a4 Merge pull request #2278 from servedsmart/refactor-background-blur
♻️ Refactor: Use IIFE for background-blur and simplify code
2025-07-09 15:45:55 +01:00
Nuno C.
ebca0ffcc7 Merge pull request #2275 from ZhenShuo2021/refactor/gallery
♻️ Refactor(gallery): improve readibility
2025-07-09 15:44:44 +01:00
Nuno C.
b83889b72f Merge pull request #2268 from servedsmart/move-inline-style-background-image-out-of-line
♻️ Refactor: Move inline styles containing background-image: out of line
2025-07-09 15:43:04 +01:00
Nuno C.
0f83712a3d Merge pull request #2253 from servedsmart/move-some-inline-event-handlers-out-of-line
♻️ Refactor: Move 2 inline event handlers out of line
2025-07-09 15:42:33 +01:00
Nuno C.
dfd03ad722 Merge pull request #2254 from servedsmart/add-missing-resources-fingerprint
🎨 Structure: Restructure vendor.html and add missing hugo fingerprints
2025-07-09 15:39:30 +01:00
Nuno C.
4d200adfd3 Merge pull request #2257 from Weaxs/umami-bugfix
umami bugfix
2025-07-09 15:38:45 +01:00
Nuno C.
ece7b66be3 Merge pull request #2265 from nunocoracao/codex/review-code-and-suggest-improvements
🤖 Fix JS issues and modernize node scripts
2025-07-09 15:37:37 +01:00
Nuno C.
af55c359a7 Merge pull request #2304 from cEvolve05/dev
🐛 fix(docs): correct links of hugo doc
2025-07-09 15:37:13 +01:00
Nuno C.
83dcf2dfdc Merge pull request #2240 from ZhenShuo2021/style/format-head
🎨 Style(head): format head.html
2025-07-09 15:36:30 +01:00
Nuno C.
589f6997dd Merge pull request #2244 from ZhenShuo2021/style/header-formatting
🎨 Style(header): run prettier format
2025-07-09 15:35:08 +01:00
Nuno C.
0b3ee8daa5 Merge pull request #2243 from ZhenShuo2021/fix/header-end-clause
🐛 Fix(header): incorrect end clause
2025-07-09 15:34:59 +01:00
Nuno C.
8906801a94 Merge pull request #2242 from ZhenShuo2021/refactor/header-modularize
♻️ Refactor(header): modularize basic.html
2025-07-09 15:34:35 +01:00
Nuno Coração
171e64dd38 updated users 2025-07-09 15:31:41 +01:00
Nuno C.
88c5d03a68 Merge pull request #2241 from ZhenShuo2021/chore/social-image
🔧 Chore(config): use official banner as social image
2025-07-09 15:31:00 +01:00
Nuno C.
6de26cd2da Merge pull request #2291 from Menardi/tailwind-cli-docs
📝 Docs: Update Tailwind CLI docs for Tailwind v4
2025-07-09 15:30:29 +01:00
Nuno C.
39fe82f4b9 Merge pull request #2237 from Weaxs/dev
add Advertisement doc
2025-07-09 15:27:22 +01:00
Nuno C.
db602b14ea Merge pull request #2251 from anapaulagomes/fix-404-typo-in-pt-versions
Fix 404 typo in PT versions
2025-07-09 15:26:52 +01:00
Nuno C.
152fe82f1d Merge pull request #2301 from nunocoracao/dependabot/npm_and_yarn/dev/awmottaz/prettier-plugin-void-html-1.9.0
📌 bump @awmottaz/prettier-plugin-void-html from 1.8.0 to 1.9.0
2025-07-09 15:25:54 +01:00
Nuno C.
e0da6e87e5 Merge pull request #2303 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-3.6.2
📌 bump prettier from 3.6.0 to 3.6.2
2025-07-09 15:25:45 +01:00
Nuno C.
e0d492c5b1 Merge pull request #2310 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-24.12.0
📌 bump puppeteer from 24.10.2 to 24.12.0
2025-07-09 15:25:37 +01:00
dependabot[bot]
28a5b0b41f 📌 bump prettier from 3.6.0 to 3.6.2
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.6.0...3.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 14:22:10 +00:00
dependabot[bot]
8e39564fa7 💄 Rebuild CSS 2025-07-09 14:21:58 +00:00
dependabot[bot]
d745426f41 📌 bump puppeteer from 24.10.2 to 24.12.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.10.2 to 24.12.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.10.2...puppeteer-v24.12.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 14:21:51 +00:00
dependabot[bot]
e28a53dcdf 📌 bump @awmottaz/prettier-plugin-void-html from 1.8.0 to 1.9.0
Bumps [@awmottaz/prettier-plugin-void-html](https://github.com/awmottaz/prettier-plugin-void-html) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/awmottaz/prettier-plugin-void-html/releases)
- [Changelog](https://github.com/awmottaz/prettier-plugin-void-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awmottaz/prettier-plugin-void-html/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: "@awmottaz/prettier-plugin-void-html"
  dependency-version: 1.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 14:21:34 +00:00
Nuno C.
16c7bf8de1 Merge pull request #2300 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss-4.1.11
📌 bump tailwindcss from 4.1.10 to 4.1.11
2025-07-09 15:20:33 +01:00
Nuno C.
13d42f44aa Merge pull request #2299 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.11
📌 bump @tailwindcss/cli from 4.1.10 to 4.1.11
2025-07-09 15:20:20 +01:00
Nuno C.
993ffd0c05 Merge pull request #2294 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-07-09 15:19:07 +01:00
nunocoracao
20ff46b82f Update Hugo supported version 2025-07-09 06:07:15 +00:00
cEvolve05
37e6e621b5 🐛 fix(docs): correct links of hugo doc 2025-07-03 18:34:11 +08:00
dependabot[bot]
885d2ee040 📌 bump tailwindcss from 4.1.10 to 4.1.11
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 05:57:04 +00:00
dependabot[bot]
efb81ffdd5 📌 bump @tailwindcss/cli from 4.1.10 to 4.1.11
Bumps [@tailwindcss/cli](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-cli) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/@tailwindcss-cli)

---
updated-dependencies:
- dependency-name: "@tailwindcss/cli"
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 05:56:57 +00:00
Menardi
35458a6029 Update Tailwind CLI docs for Tailwind v4 2025-06-29 13:20:16 +01:00
Served Smart
a34947a630 ♻️ Refactor: Move 2 inline event handlers out of line
If MDN explicitly warns user not to use them, we probably shouldn't.

MDN also states: "Note that inline event handlers are blocked as well[...]You should replace them with addEventListener calls[...]" regarding CSP.
2025-06-27 19:23:55 +02:00
Served Smart
7f8004e6af 🎨 Structure: Restructure vendor.html and add missing hugo fingerprints
This renames $youtubeLiteJS $youtubeLiteLib to match the naming of other files in assets/lib and moves the initialization of $youtubeLiteLib to the bottom, above the script element

This also adds 3 missing fingerprints, one to $packeryLib, one to $twelementsLib and one to $youtubeLiteCSS
2025-06-27 19:23:31 +02:00
Served Smart
80486364cd 🐛 Fix: Reassignment of variable names
I'm not sure why this is such a big problem, but hugo doesn't seem to like this. It is also better to just use the intended way to reassign vars always.

Before, *feature* images if using background.html would always get overwritten, now that is fixed.
2025-06-27 19:21:59 +02:00
Served Smart
f82776c86b 🐛 Fix: Typos and images not in css if optimized 2025-06-27 19:21:58 +02:00
Served Smart
1736cafcf4 ♻️ Refactor: Move inline styles containing background-image: out of line
This greatly reduces the number of inline styles in the project and enhances maintainability by avoiding a lot of duplicate code.

This also reduces the number of hashes required for a CSP since all previous background-image inline styles are now in main.css.
2025-06-27 19:21:58 +02:00
Served Smart
1e9458802a ♻️ Refactor: Use IIFE for background-blur and simplify code
This improves readability and removes an unnecessary function declaration by using IIFE.

This is inspired by https://github.com/nunocoracao/blowfish/pull/2262 . If both are merged, this would enhance consistency
2025-06-27 19:19:28 +02:00
Nuno C.
a9aae948eb Merge pull request #2281 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-24.10.2
📌 bump puppeteer from 24.10.1 to 24.10.2
2025-06-25 23:17:41 +01:00
dependabot[bot]
9c1653bcdd 📌 bump puppeteer from 24.10.1 to 24.10.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.10.1 to 24.10.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.10.1...puppeteer-v24.10.2)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.10.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 22:16:34 +00:00
Nuno C.
f009101198 Merge pull request #2280 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.7.0
📌 bump mermaid from 11.6.0 to 11.7.0
2025-06-25 23:15:44 +01:00
Nuno C.
3a17e8d602 Merge pull request #2279 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-3.6.0
📌 bump prettier from 3.5.3 to 3.6.0
2025-06-25 23:15:34 +01:00
Nuno C.
a7d6778529 Merge pull request #2282 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-plugin-tailwindcss-0.6.13
📌 bump prettier-plugin-tailwindcss from 0.6.12 to 0.6.13
2025-06-25 23:15:24 +01:00
Nuno C.
816127ef5c Merge pull request #2276 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-06-25 23:14:59 +01:00
dependabot[bot]
d6265341d1 📦 Update packaged Mermaid 2025-06-25 05:30:08 +00:00
dependabot[bot]
51c29274f9 📌 bump prettier-plugin-tailwindcss from 0.6.12 to 0.6.13
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.12 to 0.6.13.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.12...v0.6.13)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.6.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 05:30:07 +00:00
dependabot[bot]
435775c29f 📌 bump mermaid from 11.6.0 to 11.7.0
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 11.6.0 to 11.7.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.6.0...mermaid@11.7.0)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-version: 11.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 05:29:45 +00:00
dependabot[bot]
98f180e054 📌 bump prettier from 3.5.3 to 3.6.0
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.3...3.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 05:29:39 +00:00