Nuno Coração
3e52d26e30
Merge pull request #2216 from ZhenShuo2021/fix/showDate
...
🐛 Fix: date still shown when showDate=false
2025-06-17 22:49:46 +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
Nuno Coração
d97945d23b
Merge pull request #2207 from ZhenShuo2021/fix/toc-active
...
🐛 Fix TOC Active State Loss with Dynamic Content
2025-06-17 22:31:32 +01:00
Nuno Coração
1c43a42adb
Merge pull request #2202 from ZhenShuo2021/fix/toc-child
...
🐛 Fix: smartTOCHideUnfocusedChildren not collapsed
2025-06-17 22:31:12 +01: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
ZhenShuo Leo
c3fbfc9545
fix: date still shown when showDate=false
2025-06-11 18:31:15 +08:00
ZhenShuo Leo
e6f0522b60
🐛 fix(toc): prevent active state loss from dynamically loaded content
2025-06-04 13:52:01 +08:00
ZhenShuo Leo
4ca31fadca
🐛 fix: toc child not collapsed
2025-06-04 12:18:33 +08:00
ZhenShuo Leo
7cc521bc1e
🐛 fix: gist shortcode breaks smartTOC
2025-06-04 11:08:38 +08:00
Served Smart
dc36597427
🔒 Add config parameter fingerprintAlgorithm
...
This parameter allows users to choose their algorithm for html integrity checks. This mainly affects Hugo's fingerprint
2025-06-03 11:53:03 +02:00
Nuno Coração
94424416bc
polish
2025-05-27 00:58:36 +01:00
Nuno Coração
f316c9b437
Merge pull request #2166 from ZhenShuo2021/feat/image-option
...
✨ Feat: add new option disableImageOptimizationMD
2025-05-27 00:37:23 +01:00
Nuno Coração
68bd843e73
Merge branch 'dev' into feat/gist
2025-05-27 00:36:19 +01:00
Nuno Coração
26f3f0510b
Merge pull request #2162 from soar/feature/github-thumbnails
...
✨ feat(shortcodes): Display thumbnails for GitHub repos
2025-05-27 00:34:06 +01:00
Nuno Coração
e9ebdc4dbe
Merge pull request #2158 from ZhenShuo2021/fix/code-card
...
🐛 fix: hugo minify breaks repo cards
2025-05-27 00:32:59 +01:00
Nuno Coração
7afecd63e5
Merge pull request #2133 from timcappalli/main
...
Feat: Adds ability show only the category instead of all tags
2025-05-27 00:31:07 +01:00
Nuno Coração
375bf31e0b
Merge pull request #2131 from ZhenShuo2021/fix/article-shortcode
...
🐛 fix: article shortcode across languages (#2130 )
2025-05-27 00:28:19 +01:00
Nuno Coração
c93fafd3ee
Merge pull request #2160 from ZhenShuo2021/refactor/render-image
...
♻️ Refactor: encapsulates functions in render-image.html
2025-05-27 00:27:09 +01:00
Nuno Coração
f711f1afaa
Merge pull request #2115 from ZhenShuo2021/feat/hero-image
...
✨ Feat: add option disableHeroImageFilter on homepage (#2029 )
2025-05-27 00:26:15 +01:00
Nuno Coração
5fc28a1ffd
Merge pull request #2116 from ZhenShuo2021/feat/extend-head
...
✨ Feat: support extend-head access .Page (#1781 )
2025-05-27 00:24:57 +01:00
Nuno Coração
05756a31a4
Merge pull request #2159 from ZhenShuo2021/fix/render-image
...
🐛 fix: Correct the attributes of the `<img>` tag
2025-05-27 00:16:06 +01:00
Nuno Coração
15bf72abb3
Merge pull request #2122 from ZhenShuo2021/fix/anchor
...
🐛 Fix: anchor not working for non-ascii characters
2025-05-27 00:14:19 +01:00
Nuno Coração
754076de7f
Merge pull request #2101 from ZhenShuo2021/feat/social-image
...
✨ feat: add defaultSocialImage (#1491 ) (#2100 )
2025-05-27 00:07:56 +01:00
Nuno Coração
321e1cf07c
Merge pull request #2105 from ZhenShuo2021/fix/hero-url
...
🐛 Fix: make thumbAndBackground behavior consistent
2025-05-27 00:07:28 +01:00
Nuno Coração
01fc28a36a
Merge pull request #2107 from ZhenShuo2021/feat/gallery
...
✨ Feat: gallery shortcode supports all kinds of input
2025-05-27 00:06:22 +01:00
ZhenShuo Leo
69fc96ed5b
✨ feat: add new option disableImageOptimizationMD
2025-05-27 04:19:51 +08:00
ZhenShuo Leo
eb0d04a014
✨ feat: add gist shortcode
2025-05-26 13:09:08 +08:00
Aleksey @soar Smyrnov
2bbcd3ab8c
feat(shortcodes): Display a thumbnail for GitHub repos
2025-05-25 16:08:20 -07:00
ZhenShuo Leo
86fa25f27f
chore: unify variable naming conventions
2025-05-26 00:21:37 +08:00
ZhenShuo Leo
6ab1964e22
♻️ refactor: encapsulates functions in render-image.html
2025-05-25 23:29:48 +08:00
ZhenShuo Leo
4688d1e8c4
🐛 fix: correct the attributes of img tag
2025-05-25 22:36:26 +08:00
ZhenShuo Leo
7c70f27a62
🐛 fix: hugo minify breaks repo cards
...
Make all repo cards behave consistently as in #2090
2025-05-25 03:59:15 +08:00
ZhenShuo Leo
8be58016ae
✨ feat: allow self-linking in article shortcode
2025-05-15 14:52:47 +08:00
Tim Cappalli
49ec3b5a01
showCategoryOnly config
2025-05-11 14:57:19 -04:00
ZhenShuo Leo
61fcafc319
🐛 fix: article shortcode across languages ( #2130 )
2025-05-11 21:18:05 +08:00
ZhenShuo Leo
6e49bfac5e
🐛 Fix: anchor not working for non-ascii characters
...
Fix in-page anchor links by replacing urlize to anchorize
2025-05-07 16:10:00 +08:00
ZhenShuo Leo
73cbdae595
✨ Feat: support extend-head access .Page ( #1781 )
...
Use extend-head-uncached.html for downward compatibility
2025-05-06 23:55:47 +08:00
ZhenShuo Leo
772bcfb879
✨ Feat: add option disableHeroImageFilter on homepage ( #2029 )
...
disableHeroImageFilter deault to false. When set to true, it uses the color
style from the background layout.
2025-05-06 21:42:12 +08:00
ZhenShuo Leo
c59cb293bf
✨ Feat: Prevent ToC flicker on initial load
...
Use CSS to control ToC height instead of JavaScript to prevent flickering.
2025-05-05 08:30:34 +08:00
ZhenShuo Leo
6486908601
✨ Feat: gallery shortcode supports all kinds of input
...
Also trim white spaces
2025-05-04 00:27:31 +08:00
ZhenShuo Leo
f19c61cb97
🐛 Fix: make thumbAndBackground behavior consistent
...
Add support for URL input, matching the behavior of other hero partials.
2025-05-03 18:30:32 +08:00
ZhenShuo Leo
3afe8b5e00
chore: correct typo ( #1491 ) ( #2100 )
2025-05-03 03:14:29 +08:00
ZhenShuo Leo
e4b76d6fce
✨ feat: add defaultSocialImage ( #1491 ) ( #2100 )
...
Add `defaultSocialImage` as the default image for social media sharing. This feature would be useful for users who don’t want to specify an image for every article. This PR also resolves the issue where the homepage missing an image when shared.
2025-05-03 03:07:00 +08:00
Nuno Coração
1731c36c7c
Merge pull request #2091 from ZhenShuo2021/fix/gallery-path
...
🐛 fix: incorrect path for gallery (#2042 )
2025-05-02 11:38:31 +01:00
Nuno Coração
a219b38010
Merge pull request #2092 from ZhenShuo2021/fix/i18n-code
...
🐛 fix: i18n items of code don't work (#1965 )
2025-05-02 11:36:21 +01:00
ZhenShuo Leo
faa22c47d8
🐛 fix: i18n items of code don't work ( #1965 )
2025-05-02 18:20:41 +08:00
ZhenShuo Leo
6f33b9d5cf
🐛 fix: incorrect path for gallery
...
Fix this issue with resource.RelPermalink
2025-05-02 17:43:56 +08:00
ZhenShuo Leo
7072628632
🐛 fix: hugo minify breaks github card ( #1434 )
...
Add a div wrapper to avoid incorrect minification by hugo.
Tested with sample https://codeberg.org/cthru/blowfish_test/src/branch/master/content/tests/1716983769844-github-card-test/index.md#
2025-05-02 14:46:32 +08:00
Nuno Coração
8d3a3dce93
Merge pull request #2059 from ragibson/fix-list-summaries
...
Fix article lists showing incorrectly wrapped summaries
2025-05-01 16:48:13 +01:00