Commit Graph
78 Commits
Author SHA1 Message Date
Nuno CoraçãoandClaude Fable 5 1784d3c13b 🐛 Render comments in the simple article layout
Extract the comments block into a shared article-comments partial and
include it from both single and simple layouts. Fixes #2938.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Nuno CoraçãoandClaude Fable 5 09f0573749 ✨ v3 theme: glass UI, landing layout, a11y, perf, print styles
Floating glass header with ⌘K search, landing homepage layout with
hero image and GitHub-stars CTA, background canvas with dissolving
heroes, burufugu colour scheme, movie-quote 404, taxonomy pills,
keyboard/ARIA accessibility across menus, search and tabs, idle-
loaded third-party scripts, and dedicated print styles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Chris HerborthandChris Herborth cff88c00f5 Address #3033 - suppress default author when using multi-author (#3034)
Co-authored-by: Chris Herborth <chrish@taffer.ca>
2026-08-16 22:32:09 +01:00
Morten Victor Nordbye 1f82608cd6 Add reading progress bar for articles (#3014)
* Add reading progress bar for articles

* Let page-level showReadingProgress override the site setting

Hugo's default treats false as empty, so a page-level false could not
disable the bar once it was enabled site-wide. Resolve the value by
initialising from the site setting and overriding it only when the
front matter parameter is actually present, and use the same resolved
boolean in single.html and head.html.

* Guard the reading progress handler and mark the listener passive

The script loads in the head without defer, so the scroll listener is
registered before the progress bar element exists. A scroll event fired
during parsing, such as when the browser restores the scroll position on
reload, would throw. Bail out when the element is missing, matching the
guard in background-blur.js, and mark the scroll listener passive as
toc.html already does.
2026-08-16 22:14:45 +01:00
André Plöger 5df9ce4b32 🌐 Localize reply-by-email subject
Use a new article.reply_to i18n key for the generated reply-by-email subject instead of the hardcoded English prefix.

Add the missing translations across i18n files and keep the existing English subject as fallback.

Fixes #2936
2026-05-10 14:37:55 -03:00
Nuno C. a57db858b4 Merge pull request #2866 from EricGusmao/fix/hugo-v0.158.0-deprecations
fix: migrate deprecated Hugo v0.158.0 language API
2026-04-13 22:40:39 +01:00
Eric Gusmao ee2fc91522 Fix Hugo v0.156.0 template deprecations 2026-04-03 14:13:30 -03:00
Eric Gusmao 7c127074f9 fix: migrate deprecated Hugo v0.158.0 language API
Replace deprecated config keys and template methods per Hugo v0.158.0:

Config (10 files):
- languageCode → locale
- languageName → label

Templates:
- site.LanguageCode → site.Language.Locale (baseof.html, head.html, schema.html x2)
- site.Language.Lang → site.Language.Name (single.html)
- .Lang → .Language.Name (likes.html, views.html)

Ref: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869
2026-03-25 11:15:20 -03:00
ZhenShuo Leo 55f2f22849 feat: email obfuscation (#2711) 2026-02-25 23:13:16 +08:00
ZhenShuo Leo 0e9a151ce5 refactor: gather firebase templates 2026-02-07 21:48:53 +08:00
ZhenShuo Leo 1d275134ad style(list): see details
- Align list TOC wrapper with single TOC wrapper
- Adjust margin
2026-01-08 00:40:24 +08:00
YoZ e71f92b572 feat: Add i18n support for "Reply by Email" 2025-11-16 07:02:50 +09:00
ZhenShuo Leo 9a043d83ab fix(single.html): toc not controlled by frontmatter (redo #2428) 2025-10-11 15:19:36 +08:00
ZhenShuo Leo 9b35cc2bae fix(toc): too wide when no related contents 2025-10-11 15:19:36 +08:00
ZhenShuo Leo 41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +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
Nuno Coração f2e224a042 pretty run 2025-06-17 23:17:26 +01: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
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
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 04410deac7 Revert ":bug:Fix zen mode footer line bug" 2025-03-29 23:36:31 +00:00
Nuno Coração c4ae51b557 Merge pull request #2001 from hayduke-io/zenmode_fix
:bug:Fix zen mode footer line bug
2025-03-29 23:30:34 +00:00
Corey Todaro 4c44b67fe6 :bug: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
unacro d6873cf1b1 chore: Move .Site.Author to .Site.Params.Author 2024-08-11 20:45:05 +08:00
Nuno Coração addf561a06 Merge branch 'dev' into dev 2024-08-10 11:02:44 +01:00
Nuno Coração 8a8ba86ab2 Merge pull request #1670 from ragibson/main
Consistently include js/page.js in relevant statement scopes
2024-08-10 11:00:47 +01:00
Ryan Gibson c12753c069 Consistently include js/page.js in relevant statement scopes 2024-08-08 23:02:30 -04:00
Mordecai K 47b99754e1 style(reply-by-email): separation from content
Add more separation from the content by adding a top margin
Add button-like styling to differentiate the link
2024-08-05 11:30:56 +03:00
Mordecai K 5088638936 feat: add reply via email functionality 2024-07-31 16:42:39 +03:00
kurokobo 8497eef0fe fix: correct links for the author pages 2024-07-19 14:39:08 +00:00
Zoe Roux 9dc7940718 Use markdown emojify instead of dump emojify 2024-05-31 12:37:29 +02:00
Nuno Coração 56889bcbd4 fixes https://github.com/nunocoracao/blowfish/issues/887 2024-04-07 19:56:46 +01:00
Nuno Coração 6ae4f4b71c fixed small bug on pr #1359 2024-03-21 11:06:56 +00:00
Nuno Coração 6510a7505e Merge pull request #1324 from nunocoracao/translations-v1
🎏 Blowfish translation
2024-03-20 21:56:58 +00:00
Nuno Coração 29625b34b6 🐛 Series does not show any list 2024-03-20 21:52:38 +00:00
Nuno Coração 6190898b70 fixed view like counters to work across multiple langs 2024-03-20 16:05:48 +00:00
Nuno Coração aa63694ef3 Merge branch 'dev' into feature/zen-mode 2024-01-04 21:09:06 +00:00
v20100v e1f6607def ✨ Zen-mode feature 2023-12-19 11:23:25 +01:00
arunoruto 844cf98ccf Fix annoying .File.Path on zero object. warning 2023-12-16 10:50:34 +01:00
Nuno Coração e86beacb49 🐛 Mobile bug in articles 2023-07-29 22:16:28 +01:00
Nuno Coração 90f1711bf7 updated users list 2023-07-29 13:34:49 +01:00
Nuno Coração ada2b2c99b 🎨 TOC moves out of the screen because of related articles 2023-07-14 10:28:26 +01:00
MaikelChan eda728ba1d Output HTML is better formatted. 2023-07-14 05:04:41 +02:00
MaikelChan 85867e3f14 Found the actual issue. 2023-07-14 04:11:24 +02:00
Nuno Coração 7c6663c348 updated authors to be displayed on top of an article 2023-06-29 22:15:39 +01:00
Nuno Coração cb77f886ea fixed bug in list.html likes and views 2023-05-08 21:35:02 +01:00
Nuno Coração 66198da716 ✨ Related articles feature added 2023-04-29 15:56:55 +01:00