summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts
AgeCommit message (Collapse)Author
2025-10-30perf: dynamically load libra.jsEltrac
Former-commit-id: 11c2cc7e2c8da0278682d6655edaa5b28854b8cd
2025-10-25refactor: replace littlefoot.js with injected footnotes use a simpleEltrac
script to inject each footnote to coresponding paragraph. Former-commit-id: 6e228328877d2405dfc902598a00288a3f3e4d19
2025-10-13refactor: remove unnecessary external js paramEltrac
Former-commit-id: f4a68d0ab6efeb56831905db1ac04b53ff29de68
2025-10-13refactor: move all action menu js to individual modulesEltrac
Former-commit-id: 9b33cfcc8fd8cc52d09c599efd06108b1e35d0d7
2025-10-13refactor: move comment toggle script to modular partialEltrac
Former-commit-id: ab28dbf17de72a0caff664a7437d8f6af86d198b
2025-09-28remove: umami web analytics integrationEltrac
Stopped tracking visitors because I realized that: 1. It's no necessary for personal blogs to analyze user behaviors, 2. Checking pageviews on a daily basis really messed up my mental health. Former-commit-id: 99deb4bd1c115b5b11f3632ca57ccc4d41fb3ee9
2025-09-28fix: dark mode support for organ farmEltrac
Former-commit-id: 267216f3b31f754b479fc17f92fe06f4a1f5de50
2025-09-27feat: display like count by laying out organ imagesEltrac
Former-commit-id: 8529c0c9680c4df38ce5038251877e2afdb56e02
2025-09-17fix: lightbox shifts verticallyEltrac
Like last commit f2fb7db4638dc4cb030da05a992962831f8d6f25 [formerly 418aa1702a718b08c415d98b751563c5b2580bb1] , lightbox also shits slightly leftwards. Adding an offset can temporarily fix this. P.S. I just figured out I interchanged 'horizontally' and 'vertically' in the two commits. My bad. Former-commit-id: 2814fdb8d42ec644fbce975c2c7c7c98d4283456
2025-09-17fix: lightbox shifts horizontallyEltrac
For unknown reasons, the lightbox (powered by Libra.js) shifts a little downwards on the y axis. The temporary solution is to leverage new features of Libra.js to add an offset to the lightbox. Former-commit-id: 418aa1702a718b08c415d98b751563c5b2580bb1
2025-09-17chore: update libra.jsEltrac
Former-commit-id: a4b49af51f028e6cbde882f427f3e0e501a718e4
2025-09-15refactor: replace fancybox with libraEltrac
Former-commit-id: 1bf6de58ab13fc385a24467c84b9047bddea24da
2025-09-10chore: track fancybox usageEltrac
I'm considering removing Fancybox because it loads a large JavaScript file and can significantly affects page load speed. First, I need to see if it's a frequently used feature. Former-commit-id: da5ce0b668ab96f6cc441642563e6dac59b71831
2025-09-08fix: problem previous commit fails to fixEltrac
see commit e433ef46d792ccaeb732766e2abbab24ce4a6bbc [formerly fe7ac94a9807f7d604c2f29c205ac9fcb31d7248] Former-commit-id: b83f18f34d9c53f821bb5b13fb316adf34f888dd
2025-09-08fix: comment count not showing when count is 0Eltrac
Former-commit-id: fe7ac94a9807f7d604c2f29c205ac9fcb31d7248
2025-08-29refactor: move updateTooltip() inlineEltrac
Former-commit-id: a2790b756320c072a976517836aef83b103ca322
2025-08-29refactor: feature initialization and comment count logicEltrac
Former-commit-id: b14e68c36fb6c9bc44390c42ee4617cedb65bbd7
2025-08-29feat: comment toggle animationEltrac
Former-commit-id: 3a16525c27517cd046b383f5fd92d07be6b6d798
2025-08-29style: clear comment on action menu scriptsEltrac
Former-commit-id: 282d57b388cb5bdd67ba34bb1789fa0629d69b78
2025-08-29perf: load like function lazilyEltrac
also disable 'like' when host is not 'www.geedea.pro' (the server rejects such requests anyway) Former-commit-id: 96153c88d957102234c0ef4ad794dbe62d7ca4ef
2025-08-29perf: load giscus and comment count lazilyEltrac
Former-commit-id: f839c9ce6277a5f0bc19e2a1e23a2c225715b1a6
2025-08-29feat: tweak littlefoot styleEltrac
- use numerical footnotes - vertically align footnote buttons to the top - smaller popover Former-commit-id: 3c577e8ca28662e44297d0735b9b21b121a569b1
2025-08-02perf: refactor render-blocking action-menu logicEltrac
- put initialization script at the end of the page - delay initialization furthermore - delay comment count fetch after giscus iframe is loaded Former-commit-id: ea845e50495d79f48315c281186a51aa486ae263
2025-08-01fix: aplayer not showing correctlyEltrac
Former-commit-id: 57b70b4b2b718c5525d12ef51bedfd48a3bdd2a8
2025-07-19refactor: load fancybox and littlefoot globallyEltrac
Former-commit-id: 70050d2bab887d12451096fa38ef55d4a7597b95
2025-07-18refactor: make partials of all embeded JavaScript codeEltrac
Former-commit-id: 70cfd74bcfab6a74dd9755c1946109e6576158a8