Merge branch 'dev' into patch-2

This commit is contained in:
Nuno C.
2025-09-15 22:51:27 +01:00
committed by GitHub
15 changed files with 896 additions and 792 deletions
+2 -2
View File
@@ -8,11 +8,11 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }} if: ${{ github.actor == 'dependabot[bot]' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: "${{ github.head_ref }}" ref: "${{ github.head_ref }}"
- name: Install dependencies and Build Theme - name: Install dependencies and Build Theme
uses: actions/setup-node@v4 uses: actions/setup-node@v5
- run: npm install - run: npm install
- run: npm run assets - run: npm run assets
- name: Commit and push Chart.js changes - name: Commit and push Chart.js changes
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
zip: zip:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- run: zip -r config-default.zip config/_default - run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
issues: write issues: write
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/first-interaction@v2 - uses: actions/first-interaction@v3
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Thanks for contributing to Blowfish" issue-message: "Thanks for contributing to Blowfish"
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: dev ref: dev
submodules: true # Fetch Hugo themes (true OR recursive) submodules: true # Fetch Hugo themes (true OR recursive)
+2 -2
View File
@@ -37,7 +37,7 @@ jobs:
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \ wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb && sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: recursive submodules: recursive
- name: Setup Pages - name: Setup Pages
@@ -51,7 +51,7 @@ jobs:
run: | run: |
hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/ hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v4
with: with:
path: ./docs path: ./docs
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/stale@v9 - uses: actions/stale@v10
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: stale-issue-message:
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
+7 -1
View File
@@ -1,4 +1,4 @@
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */ /*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
/*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */
@layer properties; @layer properties;
#zen-mode-button { #zen-mode-button {
@@ -421,6 +421,9 @@ body.zen-mode-enable {
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
padding-block: 0; padding-block: 0;
} }
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-moz-ui-invalid { :-moz-ui-invalid {
box-shadow: none; box-shadow: none;
} }
@@ -620,6 +623,9 @@ body.zen-mode-enable {
.my-3 { .my-3 {
margin-block: calc(var(--spacing) * 3); margin-block: calc(var(--spacing) * 3);
} }
.me-2 {
margin-inline-end: calc(var(--spacing) * 2);
}
.prose { .prose {
color: var(--tw-prose-body); color: var(--tw-prose-body);
max-width: 65ch; max-width: 65ch;
+13 -1
View File
@@ -64,6 +64,16 @@
}); });
const data = await response.json(); const data = await response.json();
if (!response.ok) {
console.error(`fetch-repo.js: HTTP Error: ${response.status} ${response.statusText}`);
return;
}
if (!data || typeof data !== "object") {
console.error("fetch-repo.js: Invalid or empty data received from remote");
return;
}
Object.entries(mapping).forEach(([dataField, elementSuffix]) => { Object.entries(mapping).forEach(([dataField, elementSuffix]) => {
const element = document.getElementById(`${repoId}-${elementSuffix}`); const element = document.getElementById(`${repoId}-${elementSuffix}`);
if (element) { if (element) {
@@ -71,7 +81,9 @@
if (processors[platform]?.[dataField]) { if (processors[platform]?.[dataField]) {
value = processors[platform][dataField](value); value = processors[platform][dataField](value);
} }
element.innerHTML = value; if (value != null && value !== "") {
element.innerHTML = value;
}
} }
}); });
} catch (error) { } catch (error) {
+555 -520
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -2,4 +2,4 @@
[module.hugoVersion] [module.hugoVersion]
extended = true extended = true
min = "0.141.0" min = "0.141.0"
max = "0.148.2" max = "0.150.0"
+14 -1
View File
@@ -882,6 +882,19 @@
"Personal site" "Personal site"
] ]
}, },
{
"title": "Learn-Software.com",
"url": "https://learn-software.com",
"source": "https://github.com/learn-software-engineering/website",
"tags": [
"Personal Website",
"Tech Blog",
"Learning",
"Software Engineering",
"Programming",
"Artificial intelligence"
]
},
{ {
"title": "mitri.lol", "title": "mitri.lol",
"url": "https://mitri.lol", "url": "https://mitri.lol",
@@ -892,4 +905,4 @@
"Project Manager" "Project Manager"
] ]
} }
[ ]
+292 -254
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -37,7 +37,7 @@
"homepage": "https://github.com/nunocoracao/blowfish#readme", "homepage": "https://github.com/nunocoracao/blowfish#readme",
"devDependencies": { "devDependencies": {
"@awmottaz/prettier-plugin-void-html": "^1.9.0", "@awmottaz/prettier-plugin-void-html": "^1.9.0",
"@tailwindcss/cli": "^4.1.11", "@tailwindcss/cli": "^4.1.12",
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"chart.js": "^4.5.0", "chart.js": "^4.5.0",
"fuse.js": "^7.1.0", "fuse.js": "^7.1.0",
@@ -45,11 +45,11 @@
"katex": "^0.16.22", "katex": "^0.16.22",
"lite-youtube-embed": "^0.3.3", "lite-youtube-embed": "^0.3.3",
"medium-zoom": "^1.1.0", "medium-zoom": "^1.1.0",
"mermaid": "^11.9.0", "mermaid": "^11.11.0",
"packery": "^3.0.0", "packery": "^3.0.0",
"prettier": "^3.6.2", "prettier": "^3.6.2",
"prettier-plugin-go-template": "^0.0.15", "prettier-plugin-go-template": "^0.0.15",
"puppeteer": "^24.15.0", "puppeteer": "^24.19.0",
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"tailwind-scrollbar": "^4.0.2", "tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.11", "tailwindcss": "^4.1.11",
@@ -121,7 +121,7 @@
} }
], ],
"dependencies": { "dependencies": {
"@headlessui/react": "^2.2.6", "@headlessui/react": "^2.2.7",
"@heroicons/react": "^2.2.0", "@heroicons/react": "^2.2.0",
"@iamtraction/google-translate": "^2.0.1", "@iamtraction/google-translate": "^2.0.1",
"@tailwindcss/forms": "^0.5.10", "@tailwindcss/forms": "^0.5.10",
+1 -1
View File
@@ -1 +1 @@
v0.148.2 v0.150.0