1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-05-18 15:44:25 -04:00
Commit Graph

44 Commits

Author SHA1 Message Date
jake 9314c7eb15 compile typescript before hitting babel 2021-06-06 08:36:28 -04:00
jake 23debefee2 add babel / esbuild pipes via Hugo, remove terser 2021-06-05 08:35:57 -04:00
jake 9505767f3d add /api/projects endpoint and /projects page with GH-style repo cards 2021-06-03 09:31:53 -04:00
jake 4bb5841ac1 remove frontend analytics 2021-06-01 07:47:11 -04:00
jake 37807e008b add content-type and access-control headers to hit function response 2021-05-30 19:30:06 -04:00
jake cfc3334da7 super simple serverless hit counter for fun (#410) 2021-05-30 08:55:37 -04:00
jake 468cc14d4b move dark mode script inline to avoid blinding flash of white background 2021-05-28 11:11:09 -04:00
jake 1d6d6686b2 remove algolia search stuff from production for now 2021-04-03 09:46:12 -04:00
jake ef445a538b bundle fathom analytics script into first-party app.js 2021-01-31 12:23:50 -05:00
jake 42eab41aa1 trying fathom analytics 2020-12-21 10:58:27 -05:00
jake 54357538d3 bump Hugo to v0.79.1 2020-12-19 11:41:04 -05:00
jake 898a65e296 playing more with algolia search (and updated a bunch of deps) 2020-12-18 08:25:23 -05:00
jake de1996c661 fix algolia base domain, use first party assets 2020-12-09 09:36:07 -05:00
jake 4a43ef359a disable instant.page preloading script
it reduces browser compatibility and messes with server-side stats
2020-12-01 09:05:46 -05:00
jake 26bb187c71 add instant.page preloading script 2020-10-29 16:07:03 -04:00
jake 84add157d3 update meta pages & robots.txt 2020-06-29 11:43:38 -04:00
jake 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
jake f29033f383 re-tool/clean up scripts and redirects 2020-06-19 09:45:48 -04:00
jake 046321967c update /uses 2020-06-17 10:33:43 -04:00
jake 620903413a improve dark mode readability a bit 2020-06-13 09:54:04 -04:00
jake a6cb95c0d7 clean up redirects/404s & other random housekeeping 2020-06-02 14:00:40 -04:00
jake dead391723 send event to analytics on theme toggle 2020-04-30 09:42:00 -04:00
jake b0893ff52f bundle simple analytics script locally & minify everything with terser 2020-04-27 20:49:20 -04:00
jake 374a822ad4 wrap dark mode stuff in an anonymous function like a big boy coder 2020-04-26 19:00:46 -04:00
jake 0c4e4d9afb proper SRI hash encoding 2020-04-26 16:50:39 -04:00
jake c3f46dd9db *actually* fix utteranc.es dark/light theme-ing 2020-04-26 15:07:35 -04:00
jake adfa73b5fc fingerprint CSS and JS, set one week browser cache
...and LOTS of tidying partials
2020-04-25 11:15:31 -04:00
jake d2648a68be fix some dark mode logic glitches & random clean up 2020-04-24 18:03:33 -04:00
jake 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
jake abbc3f9678 make the main content/blog section configurable instead of hardcoded to notes 2020-04-13 17:25:29 -04:00
jake c1700cdda0 execute twemoji script as a template (mainly to get baseURL) 2020-04-13 15:35:45 -04:00
jake f6e9f9ee3a custom twemoji script to bake in my own defaults and remove inline JS 2020-04-07 09:58:27 -04:00
jake 51101e7865 output Atom feed 2020-04-06 19:31:56 -04:00
jake 3224d9b072 better implementation of hugo mods for twemojis 📦 2020-04-06 08:44:43 -04:00
jake 48498c772f reorganize external static assets into vendor folder (#99)
with legacy redirects via Netlify for now
2020-04-04 12:03:04 -04:00
jake 0ee3efdbbe fix lighthouse suggestions: syntax color contrast & crossorigin preloads 2020-03-30 16:46:59 -04:00
jake fa018564e5 prevent Hugo's auto-escaping of base URL in twemoji JS 2020-03-30 13:01:47 -04:00
jake 2156c6ed88 swap native emojis for Twemojis 🎉 (#92) 2020-03-29 15:30:12 -04:00
jake d5b5a71078 enable comments via utteranc.es 2020-03-17 19:32:27 -04:00
jake 1ce87747b6 update /uses 2020-02-01 19:05:15 -05:00
jake cfc99631a9 simple analytics pixel on AMP pages 2020-02-01 08:11:54 -05:00
jake 9e794df120 test out simple analytics 2020-01-31 17:48:04 -05:00
jake be6f8b1fef simplify shortcode JS logic and only call AMP script if shortcodes present
fixes https://search.google.com/search-console/amp/drilldown?resource_id=sc-domain%3Ajarv.is&item_key=GgcIIhADKKZO&utm_source=wnc_10030322&utm_medium=gamma&utm_campaign=wnc_10030322&utm_content=msg_100058679&hl=en&sharing_key=VVX9zj1yTzUxHPzmKFP4Gg
2020-01-20 11:32:40 -05:00
jake 6c44b7d44d re-organize a bunch of partials 2020-01-14 18:08:42 -05:00