ZhenShuo Leo
ecf6d1d53f
chore(repo-card): add try statement at GetRemote
2025-07-17 23:09:00 +08:00
ZhenShuo Leo
c4e658057e
refactor: polish base templates
...
- use intermediate variable for complex condition
- replace .Site with global function site
2025-07-17 22:16:30 +08:00
ZhenShuo Leo
8930731ccc
refactor(single.html): modularize author and fix the multilingual link when author is at bottom
2025-07-17 22:16:06 +08:00
ZhenShuo Leo
bda68f96a8
style(baseof.html): manually format
2025-07-17 22:13:43 +08:00
ZhenShuo Leo
c362f4a488
style(list.html): add proper code comments
2025-07-17 22:13:43 +08:00
ZhenShuo Leo
c8265de813
refactor(list.html): use intermediate variable for complex condition
2025-07-17 22:13:37 +08:00
ZhenShuo Leo
80927fb37a
style(list.html): prettier format
2025-07-17 22:13:13 +08:00
ZhenShuo Leo
b0c3ac1321
refactor(list.html): make list.html formattable
2025-07-17 22:13:08 +08:00
ZhenShuo Leo
9bf09a8a3f
refactor(list.html): correct indention
2025-07-17 22:12:54 +08:00
OnqiauJliu
8378089dfb
Support base64 image format
2025-07-16 14:50:28 +08:00
ZhenShuo Leo
86e88935c7
fix: support external image for author image on windows
2025-07-15 13:41:50 +08:00
ZhenShuo Leo
8913a1c641
fix: series is too wide
2025-07-13 23:44:51 +08:00
ZhenShuo Leo
03c3f18b72
style: prevent anchor being selected
2025-07-13 23:00:30 +08:00
ZhenShuo Leo
23e0416f51
refactor: modularize carousel and gallery css
2025-07-13 21:52:54 +08:00
ZhenShuo Leo
237c90afa9
chore(github.html): move div into with syntax
2025-07-13 20:08:32 +08:00
ZhenShuo Leo
d8bdf7e316
chore: add warn message for GetRemote usage in shortcodes
2025-07-13 19:56:39 +08:00
ZhenShuo Leo
965c241f8c
feat: add support for compactSummary option in article shortcode
2025-07-13 18:44:45 +08:00
ZhenShuo Leo
b4a7741b39
feat: add support for showSummary in article shortcode
2025-07-13 18:44:45 +08:00
Served Smart
b73c64f4f5
🎨 Reformat article-meta/basic.html
2025-07-11 17:05:34 +02:00
Served Smart
5e8561d83b
🚸 UX: Use anchor tags in article-meta/basic.html
...
- This removes an inline event handler
- This also adds an aria-label
Using javascript instead of just using <a></a> is bad practice regarding accessibility and automated processing of web pages. Even the browser doesn't show a hint if hovering badges when using the old implementation. This in my opinion is a good way to replace inline event handlers in that code.
2025-07-11 17:03:35 +02:00
ZhenShuo Leo
fed64fa58d
fix: gist corb error
2025-07-11 18:51:34 +08:00
ZhenShuo Leo
9e5a7f9d29
Revert " ♻️ Refactor: Move inline styles containing background-image: out of line"
...
This reverts commit 1736cafcf4 .
2025-07-11 09:09:43 +08:00
ZhenShuo Leo
8d05df18dc
Revert " 🐛 Fix: Typos and images not in css if optimized"
...
This reverts commit f82776c86b .
2025-07-11 09:09:43 +08:00
ZhenShuo Leo
95b62176cf
Revert " 🐛 Fix: Reassignment of variable names"
...
This reverts commit 80486364cd .
2025-07-11 09:09:43 +08:00
Nuno C.
150d336ace
Merge pull request #2289 from ZhenShuo2021/fix/render-link-EOF
...
🐛 Fix: render-link.html adding space after each link
2025-07-10 11:43:14 +01:00
Nuno C.
94dfe274f3
Merge pull request #2272 from servedsmart/fix-issue-2264
...
🐛 Fix: Leading space in i18n go template
2025-07-10 11:40:57 +01:00
Nuno C.
3253e366b3
Merge pull request #2260 from servedsmart/use-pure-version-medium-zoom
...
🔒 Use pure version of medium-zoom to avoid inline style and simplify CSP usage
2025-07-10 11:40:05 +01:00
Nuno C.
5ebb8a9a63
Merge pull request #2261 from servedsmart/fix-label
...
🩹 Fix: Incorrect usage of <label> for menu-button
2025-07-10 11:39:23 +01:00
Nuno C.
6d94d1d62c
Merge pull request #2269 from servedsmart/use-data-repo-colors-and-move-out-of-line
...
♻️ Refactor: Use universal json for repo shortcodes and move styles out of line
2025-07-10 11:37:41 +01:00
Nuno C.
037c741ded
Merge pull request #2262 from ZhenShuo2021/refactor/repo-card
...
♻️ Refactor(repo-card): reduce coupling and indention
2025-07-10 11:37:27 +01:00
Nuno C.
0b3ba247b3
Merge pull request #2249 from servedsmart/improve-consistency-of-added-css-classes
...
♻️ Refactor: Autogen classes and use consistent naming (tailwindCSS)
2025-07-10 11:36:39 +01:00
Nuno C.
ecd40c85e7
Merge pull request #2245 from ZhenShuo2021/refactor/article-link
...
♻️ Refactor: make article-link formattable
2025-07-10 11:36:12 +01:00
Nuno C.
aec7af1f4e
Merge pull request #2293 from servedsmart/fix-issue-2292
...
💄 Style: Fix overflow on some home layouts
2025-07-10 11:35:20 +01:00
Served Smart
25977d8115
♻️ Refactor: Move function to functions/ and rename variable
2025-07-09 19:19:10 +02:00
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
Served Smart
17faf8b738
♻️ Refactor: Autogen classes and use consistent naming
...
- This should greatly improve consistency
- This mainly targets one of my PRs https://github.com/nunocoracao/blowfish/pull/2211
2025-07-09 18:59:32 +02:00
Served Smart
48a2d64023
🔒 Use pure version of medium-zoom to avoid inline style
...
This avoids an extra sha sum for a hashed CSP because it merges the CSS into main.bundle.css and avoids any inline styles being applied by medium-zoom.
This addresses concerns mentioned in the closed PR https://github.com/nunocoracao/blowfish/pull/2196 , now the same changes are integrated into package.json.
This fixes https://github.com/nunocoracao/blowfish/issues/2195 .
2025-07-09 18:52:38 +02:00
Served Smart
82622d38d8
🩹 Fix: Incorrect usage of <label> for menu-button
...
This fixes the following issue in Chrome: No label associated with a form field.
I don't know why a <label> was used here before, but I see no reason to do so, a div works just as well.
2025-07-09 18:48:25 +02:00
Served Smart
61ad34afde
🐛 Fix: Leading space in i18n go template
...
This fixes: https://github.com/nunocoracao/blowfish/issues/2264
2025-07-09 18:39:08 +02:00
ZhenShuo Leo
2978995211
style(article-link): run prettier format
2025-07-09 23:43:26 +08:00
ZhenShuo Leo
35faec527b
refactor(article-link): abstract anchor attributes for making article links formattable
2025-07-09 23:39:03 +08: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.
83dcf2dfdc
Merge pull request #2240 from ZhenShuo2021/style/format-head
...
🎨 Style(head): format head.html
2025-07-09 15:36:30 +01:00
Served Smart
36261b13e7
💄 Use w-full on all homepage layouts
...
This fixes https://github.com/nunocoracao/blowfish/issues/2292 and avoids expanding in weird ways on larger screens.
It does make the section a larger on large screens. This however looks reasonable and should actually be an improvement.
For consistency I added w-full to layouts unaffected by https://github.com/nunocoracao/blowfish/issues/2292 too (page, card). Otherwise they look off.
page layout still has a bug where the fixed-width div expands the section too much on larger screens, but this behavior is the same as before. All layouts do not encounter https://github.com/nunocoracao/blowfish/issues/2292 .
2025-06-30 16:27:25 +02:00
Served Smart
9f9bb7dcd8
💄 Style: Fix overflow on some home layouts
...
Fixed width elements were overflowing previously on:
background, hero and profile.
This addresses https://github.com/nunocoracao/blowfish/issues/2292
Currently the section element expands more than it used to
on larger screens, I will try to fix this.
2025-06-30 00:04:28 +02:00