hugo-toha/layouts/shortcodes
Aaron Qian 02db3d3044
Bundling JS with ESBuild (#702)
* add npm dependencies used in this theme

* implement helper to configure JS and ESBuild

* migrate jquery popper.js bootstrap fontawesome to js bundle

* refactor main.js into smaller pieces, and moved navbar.js to assets

* remove list.js. It adjusts post card height to be the same, but is actually not needed.

* refactored notes.js, search.js, single.js into application.js

* move ityped to js asset, implement experiences horizontal vertical line in css

* align recent post height via css

* migrated home.js and refactored into various sections

* migrated darkMode feature to js bundle

* moved mermaid feature to js bundle

* migrate syntax highlight to js bundle

* migrate katex ( js portion ) to js bundle

* migrate pdf-js to js bundle by delegating to cdn

* set explicit comparisions for feature envvars so js can properly optimize

* removed goat-counter

* more fixes for broken achievements and small bugs

* more bug fixes

* allow configuration of hightlight.js, fix video-player shortcode

* remove jquery all together

* add null handling and fix merge conflicts

Co-authored-by: Aaron Qian <aaron@yeet.io>
2023-01-06 00:42:54 +06:00
..
alert.html Add "alert" shortcode (#17) 2020-06-29 23:36:01 +06:00
embed-pdf.html Bundling JS with ESBuild (#702) 2023-01-06 00:42:54 +06:00
img.html Add short code + add improve this page button 2020-06-14 02:46:22 +06:00
mermaid.html Add optional mermaid shortcode (#551) 2022-03-13 15:53:27 +00:00
note.html Fix note layout (#274) 2021-05-02 05:02:27 +06:00
rimg.html Transition to Hugo Image Processing (#173) 2020-12-31 20:55:28 +00:00
split.html Add short code + add improve this page button 2020-06-14 02:46:22 +06:00
video.html add video shortcode (#289) 2021-04-06 01:12:28 +06:00
vs.html Add short code + add improve this page button 2020-06-14 02:46:22 +06:00