1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 03:25:58 -04:00
Commit Graph

144 Commits

Author SHA1 Message Date
jake 17501e8c34 add simple license and privacy policy pages
silly but certain things require these. also added some sitemap priorities to other miscellaneous pages.
2020-04-28 18:53:15 -04:00
jake a42e27e6e8 remove utteranc.es for now 2020-04-28 09:48:51 -04:00
jake 9a87b9fa8d fix analytics 2020-04-28 08:45:56 -04:00
jake b0893ff52f bundle simple analytics script locally & minify everything with terser 2020-04-27 20:49:20 -04:00
jake c52a357e29 revert Access-Control-Allow-Origin: * header 2020-04-26 23:43:10 -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 6360e58f60 dark mode octocat icon on COVID post (and fix AMP errors)
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhUIIhADIgNpbWciB2FtcC1pbWcolk4&hl=en&sharing_key=jrQsA5DhNhUqwYxUooGbfw
2020-04-26 12:16:25 -04:00
jake 736cc775e3 straighten up header elements 2020-04-26 09:46:34 -04:00
jake b8166296ef fix /site.webmanifest 2020-04-25 21:44:17 -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 70611f4d1c publish /previously 2020-04-23 20:45:55 -04:00
jake d38ff15c2f get logo from an actual .svg file and inline it 2020-04-23 17:13:41 -04:00
jake 83e26e5007 move keybase.txt into /.well-known 2020-04-22 10:45:02 -04:00
jake 8ba0a887bc treat ALL images as assets (as they should have been all along...) 2020-04-21 14:34:55 -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 8537042ff1 stop hardcoding images/ directory in content frontmatter 2020-04-16 09:34:58 -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 61741df3f7 don't preconnect to utteranc.es endpoints if comments disabled 2020-04-13 10:42:32 -04:00
jake 124d55a99e extract inline page styles into a separate CSS file, and scope to content via SCSS
styles on AMP pages still won't be scoped to div#content like vanilla pages, though
2020-04-12 12:02:58 -04:00
jake 20c32eaeb3 *much* smarter way of setting page-specific CSS
via front matter instead of flaky shortcode/page scratch
2020-04-09 13:59:49 -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 b69461c306 clean up a few headers, redirects, scripts 2020-04-05 15:50:41 -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 dd05444d21 css animation experiments because I'm bored. #quarantine 2020-04-02 21:36:37 -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 bc3e1f9309 set max width of pages in Hugo config.toml, retrieve value from SCSS
https://gohugo.io/hugo-pipes/resource-from-template/
2020-03-27 20:58:52 -04:00
jake 146b1047e1 allow page-specific CSS to be set via shortcode and appear in <head>
TODO: Potential bug report w/ live server -- .Page.Scratch is only detected on first run, breaks after any changes trigger rebuild. Might be flaky on real builds too, will investigate.
2020-03-27 14:19:55 -04:00
jake 56ec12a0fa use Hugo's native menu config for nav bar links 2020-03-25 09:13:29 -04:00
jake a37e749064 add actual text next to navigation emojis (#89) 2020-03-24 11:02:36 -04:00
jake d5b5a71078 enable comments via utteranc.es 2020-03-17 19:32:27 -04:00
jake 6c59bb2edc hugo mod init, and other cleanup 2020-03-10 23:11:10 -04:00
jake 7c621cadb4 update Inter font to v3.12 2020-02-26 17:05:50 -05:00
jake f19084006f make absURLs more resilient (trailing slashes/not) 2020-02-03 08:58:30 -05: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 bfa184d2a9 preload web fonts 2020-01-23 11:41:37 -05:00
jake 8c3fb6f50b switch main font to the beautiful Inter – https://rsms.me/inter/ 2020-01-21 23:55:51 -05:00
jake 87fc0f949f test webmentions & other indieweb stuff 2020-01-21 09:44:39 -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 96e3130ba5 all the favicons :) https://realfavicongenerator.net/ 2020-01-19 18:19:34 -05:00
jake f51e912632 make optimize-image more function-like
....instead of relying on $.Scratch
2020-01-15 10:30:01 -05:00