Nuno C.
f9b4e1ef93
Merge pull request #2336 from ZhenShuo2021/fix/windows-author-image
...
🐛 Fix: author image does not support external URL on Windows
2025-07-21 10:07:51 +01:00
Nuno C.
2d4149dcd9
Merge pull request #2334 from ZhenShuo2021/style/anchor
...
💄 Style: prevent anchor from being selected
2025-07-21 10:07:26 +01:00
Nuno C.
0b7486049c
Merge pull request #2333 from ZhenShuo2021/refactor/css
...
♻️ Refactor: significantly simplify main.css
2025-07-21 10:06:59 +01:00
Nuno C.
4285a740fa
Merge pull request #2332 from ZhenShuo2021/fix/repo-color
...
🐛 Fix: repo card language color is missed
2025-07-21 10:05:23 +01:00
Nuno C.
48d925ad98
Merge pull request #2326 from ZhenShuo2021/fix/series-width
...
🐛 Fix: serise is too wide
2025-07-21 10:04:22 +01:00
Nuno C.
01622ede5a
Merge pull request #2324 from ZhenShuo2021/fix/gist-corb
...
🐛 Fix: gist CORB error
2025-07-21 10:03:52 +01:00
Served Smart
5b84d57817
🚑 Hotfix: Fix incorrect href in article shortcode
...
See: https://github.com/nunocoracao/blowfish/pull/2297#issuecomment-3085165961
2025-07-17 21:51:07 +02:00
ZhenShuo Leo
5009fffcf4
fix(repo-card): manually revert to the version in 2.87.0
...
The md5 method has severe performance degradation
It is approximately 2x slower without cache and 5x slower with cache
Reverted due to lack of a better option
2025-07-18 00:46:14 +08:00
ZhenShuo Leo
2ff6b0e8bd
fix: repo card language color is missed
2025-07-18 00:44:28 +08:00
Nuno C.
ab9f0b6af8
Merge branch 'dev' into chore/try-repo-card
2025-07-17 16:44:15 +01:00
Nuno C.
a679625472
Merge pull request #2331 from ZhenShuo2021/chore/error-msg
...
🔧 Chore: add warn message for GetRemote usage in shortcodes
2025-07-17 16:42:52 +01:00
Nuno C.
c4753defd4
Merge pull request #2297 from ZhenShuo2021/feat/article-shortcode
...
✨ Feat: add options for article shortcode
2025-07-17 16:38:29 +01:00
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