f3198e0235
clean up a bunch of layouts, especially social-images function
...
also made even more config.toml parameters optional, will help when finally releasing theme
2020-06-25 10:35:59 -04:00
c1dbe5c0ad
merge analytics bugfix
2020-06-22 23:29:03 -04:00
f29033f383
re-tool/clean up scripts and redirects
2020-06-19 09:45:48 -04:00
ef16a9e3f9
merge changes from upstream analytics v3 script
2020-06-17 13:13:31 -04:00
917fde01dd
make prettier play nice with (almost) everything 👸
2020-05-11 19:28:03 -04:00
323b3dd9f6
add Prettier to workflow 🎀 ( #128 )
...
* prettier init
* prettier ignore
* run on everything 😬
* add prettier check script
* update deps
* Update .prettierignore
2020-05-06 12:19:21 -04:00
9e1a053d39
clean up scripts
2020-05-04 21:25:07 -04:00
c8265db6cc
fix CI skip condition for bot PRs
...
[skip ci]
2020-04-30 10:57:35 -04:00
dead391723
send event to analytics on theme toggle
2020-04-30 09:42:00 -04:00
6854129108
update dark mode script and post
2020-04-29 23:20:07 -04:00
d9e69fcf75
improve dark-mode.js minificationability (it's a word i promise)
2020-04-28 22:33:46 -04:00
b3f8a90a46
const/let -> var in dark-mode.js for compatibility
2020-04-28 20:41:14 -04:00
c7e64cd36e
clean stuff up & update deps
2020-04-28 10:22:02 -04:00
a42e27e6e8
remove utteranc.es for now
2020-04-28 09:48:51 -04:00
9a87b9fa8d
fix analytics
2020-04-28 08:45:56 -04:00
b0893ff52f
bundle simple analytics script locally & minify everything with terser
2020-04-27 20:49:20 -04:00
c52a357e29
revert Access-Control-Allow-Origin: * header
2020-04-26 23:43:10 -04:00
374a822ad4
wrap dark mode stuff in an anonymous function like a big boy coder
2020-04-26 19:00:46 -04:00
c3f46dd9db
*actually* fix utteranc.es dark/light theme-ing
2020-04-26 15:07:35 -04:00
c986676379
dynamically switch between utteranc.es's light/dark themes ( #118 )
2020-04-26 10:49:45 -04:00
3200509ffd
IE11 compat fixes 🙄 ( closes #94 )
2020-04-26 09:48:12 -04:00
d2648a68be
fix some dark mode logic glitches & random clean up
2020-04-24 18:03:33 -04:00
7de9d10792
update deps
2020-04-21 11:51:39 -04:00
b13da8e05b
dark mode 😎 ( #112 )
...
* prepare dark mode stuffs
* themed all global colors
* store preference in local storage
* toggle styling
* lightbulb position
* minify bundled script with uglify-js instead of hugo
* detect whether user has an OS-wide dark mode preference and use that by default
* two different colors for each homepage link
* inline bulb SVGs into stylesheet
* fingerprint and cache styles for a year
* fix lightbulb positioning with weird magic numbers, will come back to that
* themed syntax highlighting
* use terser instead of uglify-js (b/c of ES6)
2020-04-20 15:04:30 -04:00