Commit Graph

153 Commits

Author SHA1 Message Date
Nuno C.
7817866a68 Merge pull request #2348 from ZhenShuo2021/refactor/base-template
♻️  Refactor: make base-template easier to read
2025-07-21 10:11:04 +01:00
Nuno C.
dca9e177c5 Merge pull request #2345 from OnqiauJliu/base64-image
 Feat: Support base64 image format
2025-07-21 10:10:09 +01: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
03c3f18b72 style: prevent anchor being selected 2025-07-13 23:00:30 +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
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
51b9cdfb13 fix: render-link.html adding space after each link (#2287) 2025-06-26 17:33:12 +08:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +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
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
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
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
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
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
ZhenShuo Leo
69fc96ed5b feat: add new option disableImageOptimizationMD 2025-05-27 04:19:51 +08: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
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
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
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
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 "🐛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
🐛Fix zen mode footer line bug
2025-03-29 23:30:34 +00:00
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
Weaxs
369812f77f support rssnext/follow to claim feed 2024-11-15 17:54:44 +08: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
Nuno Coração
ad956ad51f Merge pull request #1628 from kurokobo/author_link
fix: correct links for the author pages
2024-08-10 10:46:13 +01:00
Ryan Gibson
c12753c069 Consistently include js/page.js in relevant statement scopes 2024-08-08 23:02:30 -04:00
Jörn-Michael Miehe
cf85d913fb 🐛 fix typos in "term" default layout 2024-08-07 23:04:20 +02: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
Nuno Coração
2ffe55a86a fix https://github.com/nunocoracao/blowfish/issues/1563 2024-06-27 23:05:51 +01:00
Nuno Coração
5ccc8c23cf Merge pull request #1538 from mnjm/order-by-weight
 Articles ordering by weight
2024-06-19 17:38:32 +01:00
Nuno Coração
ad9ab104db final polish 2024-06-19 17:37:35 +01:00