Nuno C.
488be56b5f
Merge pull request #2466 from ZhenShuo2021/feat/repo-card-csp
...
✨ Feat(repo-card): remove inline style
2025-09-15 23:08:42 +01:00
Nuno C.
53eff2b690
Merge pull request #2465 from ZhenShuo2021/feat/timeline-md
...
✨ Feat(timeline): support markdown content
2025-09-15 23:08:24 +01:00
Nuno C.
64aed3c6e7
Merge pull request #2403 from ZhenShuo2021/fix/figure-link-area
...
🐛 Fix(figure): limit link hover area to image only
2025-09-15 23:03:33 +01:00
Nuno C.
ecd990b5e5
Merge pull request #2397 from ZhenShuo2021/chore/prune-tailwind-classes
...
🔧 Chore: prune unused Tailwind classes
2025-09-15 23:02:30 +01:00
ZhenShuo Leo
e355715a3b
feat(timeline): support markdown content
2025-09-12 20:25:35 +08:00
ZhenShuo Leo
af221fbf3b
perf(repo-card): only generate used CSS class
2025-09-12 11:13:23 +08:00
ZhenShuo Leo
f94f60aef6
perf(repo-card): load CSS once globally instead of per card
2025-09-12 10:31:28 +08:00
ZhenShuo Leo
2ff90348e7
feat(repo-card): fix inline style CSP issue
2025-09-10 07:27:47 +08:00
ZhenShuo Leo
4bb67ca1ca
chore: remove text-white
2025-08-22 04:03:22 +08:00
ZhenShuo Leo
3150fb6631
fix(rtl): timeline shortcode broken on rtl site
2025-08-22 03:34:02 +08:00
ZhenShuo Leo
41f6b37e56
refactor(tailwind): use logical properties for language direction
2025-08-22 03:34:02 +08:00
ZhenShuo Leo
571b875f4a
fix(figure): limit link hover area to image only
2025-08-03 19:17:12 +08:00
Nuno C.
e87d4f59bb
Merge pull request #2398 from ZhenShuo2021/fix/repo-card-dollar
...
🐛 Fix(repo-card): add missing dollar sign
2025-08-03 01:49:16 +01:00
Nuno C.
a3dd43e992
Merge pull request #2378 from ZhenShuo2021/feat/huggingface-card
...
✨ Feat: add huggingface shortcode
2025-08-03 01:44:17 +01:00
Nuno C.
73119cddbe
Merge pull request #2374 from ZhenShuo2021/fix/carousel-transition
...
🐛 Fix(carousel): transition time not controlled by interval
2025-08-03 01:41:10 +01:00
Nuno C.
12de0ffd88
Merge pull request #2373 from ZhenShuo2021/fix/carousel-interval
...
🐛 Fix(carousel): interval not working
2025-08-03 01:40:33 +01:00
ZhenShuo Leo
87586e58ae
chore(huggingface): fix typo
2025-08-03 06:41:12 +08:00
ZhenShuo Leo
96d164265f
fix(repo-card): add missing dollar sign
2025-08-03 05:49:41 +08:00
ZhenShuo Leo
3ee9ed824f
feat: add huggingface shortcode ( #2376 )
2025-07-29 04:52:21 +08:00
ZhenShuo Leo
b3c70cedf7
chore(carosel): prevent style tag in HTML
...
this approach does not need to change the assets or the vendor file
and the live reload is also supported
2025-07-27 01:23:24 +08:00
ZhenShuo Leo
aec737ff16
fix(carousel): make interval affect slide transition on click
2025-07-27 00:37:40 +08:00
ZhenShuo Leo
ccf5e24f55
fix(carousel): interval not working
2025-07-27 00:35:31 +08:00
ZhenShuo Leo
54a643d703
fix(icon): trim white spaces
2025-07-25 05:12:51 +08: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.
01622ede5a
Merge pull request #2324 from ZhenShuo2021/fix/gist-corb
...
🐛 Fix: gist CORB error
2025-07-21 10:03:52 +01: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
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
ZhenShuo Leo
ecf6d1d53f
chore(repo-card): add try statement at GetRemote
2025-07-17 23:09:00 +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
ZhenShuo Leo
fed64fa58d
fix: gist corb error
2025-07-11 18:51:34 +08: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
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
ZhenShuo Leo
43857a5aa9
refactor(gallery): improve readibility
...
- remove unnecessary intermediate variable
- move the go process out of the div since they are not related
- use expressive variable names
- reorder declarations
2025-06-24 03:44:13 +08:00
ZhenShuo Leo
d39a64afe1
refactor(repo-card): use iife and async loading
2025-06-20 22:15:27 +08:00
Nuno Coração
f2e224a042
pretty run
2025-06-17 23:17:26 +01:00
Nuno Coração
560e927b87
Merge pull request #2210 from espressif/fix/add_default_figure_shortcode_as_partial
...
🐛 fix: add default figure shortcode as partial
2025-06-17 23:12:54 +01:00
Nuno Coração
472a89c7a5
Merge pull request #2211 from servedsmart/move-most-inline-styles-out-of-line
...
♻️ refactor: Move most inline styles out of line
2025-06-17 22:56:25 +01:00
Nuno Coração
c2ea4c27b6
Merge pull request #2209 from servedsmart/move-similar-inline-scripts-out-of-line
...
♻️ refactor: Move similar javascript inline code out of line
2025-06-17 22:37:34 +01:00
Served Smart
9f85c0566e
♻️ refactor: Move most inline styles out of line
...
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
Served Smart
4ff3d07d30
🎨 structure: Use more explicit naming in fetchRepo()
2025-06-12 13:58:59 +02:00
Served Smart
37ab1055e7
♻️ refactor: Move similar javascript inline code out of line
...
- Move variables oid, oid_likes out of line
- Move background-blur out of line
- Move fetch-repo code out of line
2025-06-12 13:58:59 +02:00
kirill.chalov
58f0e30d65
🐛 fix: add default figure shortcode as partial
...
Hugo v0.146 removed access to embedded templates like "_internal/shortcodes/figure.html".
This commit adds the template as figure-default.html.
This fixes build errors reported and partially solved in issues #2052 and #2093
when using the figure shortcode with the "default=true" option.
2025-06-05 16:34:12 +08:00
ZhenShuo Leo
7cc521bc1e
🐛 fix: gist shortcode breaks smartTOC
2025-06-04 11:08:38 +08:00