850 Commits

Author SHA1 Message Date
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
Nuno Coração
c838202da6 Merge pull request #2055 from ragibson/main
Rewrite templates/partials for Hugo v0.146.0
2025-05-01 16:43:38 +01:00
Nuno Coração
41c7456f98 Merge pull request #2064 from MrSom3body/main
 don't add `mailto:` links to `<head>`
2025-05-01 16:40:12 +01:00
Nuno Coração
326839575e Merge pull request #2070 from ZhenShuo2021/fix/mermaid
🐛 fix: Preserve Mermaid indentation disrupted by Hugo minify (#2069)
2025-05-01 16:36:03 +01:00
Ryan Gibson
f91edf0d3c Add explicit md:flex-nowrap into article link class 2025-04-29 12:08:22 -04:00
Ryan Gibson
38f0f3def6 Rename taxonomy.html to fix tags display bug
See https://github.com/nunocoracao/blowfish/issues/2067 and
https://github.com/gohugoio/hugo/issues/13636 for context
2025-04-29 12:07:18 -04:00
ALXD
5af31913f1 add data-zoom-src to figure and render-image layouts fixing medium-zoom 2025-04-26 12:48:35 +02:00
ZhenShuo Leo
059d22ca96 🐛 fix: Preserve Mermaid indentation disrupted by Hugo minify (#2069)
Add a pre tag to the Mermaid class to preserve indentation and ensure data retrieval on DOMContentLoaded
2025-04-22 05:53:15 +08:00
Karun Sandhu
9b3f313d00 don't add mailto: links to <head> 2025-04-17 12:04:31 +02:00
Ryan Gibson
6cfea9bfd1 Add "partials/" to static templates.Exists 2025-04-11 16:22:04 -04:00
Ryan Gibson
baaf251bde Rewrite templates/partials for Hugo v0.146.0 2025-04-11 09:32:47 -04:00
Nuno Coração
e1785fa68f polish and fixing crap from a bunch of PRs 2025-03-30 00:18:01 +00:00
Nuno Coração
04410deac7 Revert "🐛Fix zen mode footer line bug" 2025-03-29 23:36:31 +00:00
Nuno Coração
10d55c186c Merge pull request #2013 from michaeldorner/patch-1
 Create gist.html
2025-03-29 23:33:37 +00:00
Nuno Coração
ce3c37324b Merge pull request #2010 from wermos/timeline-improvements
Remove unused option in `timeline` shortcode
2025-03-29 23:32:15 +00:00
Nuno Coração
c4ae51b557 Merge pull request #2001 from hayduke-io/zenmode_fix
🐛Fix zen mode footer line bug
2025-03-29 23:30:34 +00:00
Nuno Coração
89b1f129ff Merge pull request #2000 from michael1-0/fix-author-link
🐛 Fix author badge link
2025-03-29 23:26:37 +00:00
Michael Dorner
08c9207ea7 Create gist.html 2025-03-08 21:27:45 +01:00
wermos
525e4b5547 Removed an unused option. 2025-02-27 13:41:40 +05:30
Corey Todaro
4c44b67fe6 🐛Fix zen mode footer line bug 2025-02-25 10:27:12 -06:00
Michael Bagaskoro Edwards
527d9fd8e5 Fix author badge link 2025-02-25 21:54:45 +07:00
Hudson
91e3c15fc2 Use RelPermalink for series links
Fixes #1916

- https://gohugo.io/methods/page/relpermalink/
- https://gohugo.io/methods/page/permalink/
2025-02-23 18:01:03 +11:00
Azzam Alsharafi
904e077b74 Fix top nav bar layout in RTL languages
Modify the margin direction in RTL layouts, and replace some occurrences of space-x to gap-x, for better RTL handling
2024-12-19 15:24:21 +08:00
Nuno Coração
b58bbbede6 Merge pull request #1850 from Weaxs/dev
support rssnext/follow to claim feed as your own
2024-12-01 18:58:50 +00:00
Nick
7bbc108651 Update basic.html so navigation doesn't bubble up. 2024-11-28 21:53:05 +02:00
Weaxs
369812f77f support rssnext/follow to claim feed 2024-11-15 17:54:44 +08:00
Nuno Coração
a21d70697f final polish and bug fixes 2024-11-08 18:03:19 +00:00
Nuno Coração
478cab6da0 Merge pull request #1813 from eallion/feat/umami
feat: custom umami script name
2024-11-08 17:40:56 +00:00
Nuno Coração
699df484b5 Merge pull request #1812 from pjkundert/fix/mobile_menus
Fix mobile menus to allow access to menu content
2024-11-08 17:37:20 +00:00
Charles Chin
924953a0a2 feat: custom umami script name
* https://umami.is/docs/environment-variables#TRACKER_SCRIPT_NAME
2024-10-24 18:48:17 +08:00
Perry Kundert
9951816b08 Fix mobile menus to allow access to menu content 2024-10-23 15:48:56 -06:00
May Meow
eedb814199 Add fediverse attribution 2024-10-09 00:26:42 +02:00
Nuno Coração
de1fa4a58d fix https://github.com/nunocoracao/blowfish/issues/1695 2024-09-03 23:40:54 +01:00
Nuno Coração
d2143149cd Merge pull request #1681 from unacro/dev
⚙️ Move .Site.Author to .Site.Params.Author
2024-08-28 16:42:52 +01:00
Nuno Coração
afbf2f66d7 Merge pull request #1678 from sculptor189/main
 Add rel attribute to button shortcode
2024-08-28 16:36:38 +01:00
Nuno Coração
363ba66e14 Merge pull request #1679 from sculptor189/date-modify
Correct time format
2024-08-28 13:10:07 +01:00