mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
b67e3f4671ca32305f4d438b7aedcb76f68bb919
Instead of looping through all the code blocks at onload, just put an onClick tag in the HTML template, which calls a global function. This also improves the semantics since we aren't abusing href to be javascript. Also improves the writeText function call, since that method actually returns a Promise which we should be waiting on. It technically worked before because Promise starts executing instantly in JS, without being awaited.
bobatheme
The (boba) best Hugo theme. Contains everything I need for bbaovanc.com and boba.best.
Description
Simple Hugo theme for boba.best and bbaovanc.com
Readme
MIT
2.5 MiB
0 Stars
1 Watchers
0 Forks
Languages
HTML
57%
CSS
41.7%
JavaScript
1.3%