1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-28 06:30:28 -04:00

125 Commits

Author SHA1 Message Date
80c926c6f9
re-organize fonts, fix BLM header 2020-08-14 10:22:28 -04:00
0f9de4d350
strip any markdown in page titles from meta/social tags in head 2020-08-10 10:58:22 -04:00
9b5a29be7b
fix AMP pixel (hopefully) 2020-08-08 08:03:22 -04:00
76b3a55efd
switch simple analytics proxy to a netlify function 2020-08-08 00:13:07 -04:00
d764025fe7
fix AMP shortcode scripts 2020-08-01 11:58:30 -04:00
cdfbba108c
playing with variable fonts some more 2020-07-23 13:03:00 -04:00
da1743cf2d
add variable Inter fonts
current faces/files kept as a fallback. also switched to Google-hosted fonts on AMP pages (might as well...)
2020-07-22 16:19:24 -04:00
ea244a5372
update homepage 2020-07-16 15:02:26 -04:00
12b056f70b
stop using <section> improperly 2020-07-14 08:41:18 -04:00
5123b8831a
organize config.toml params, and stop treating frontmattered CSS as SCSS unnecessarily -- it appears to cause some weird race condition with temporary files every once in a while...? not the intended use anyways though. 2020-07-12 19:51:19 -04:00
725c482ba3
make sure config for Netlify functions is okay so far 😬
[skip ci]
2020-07-10 20:00:39 -04:00
48eea4ce98
fix style regressions (code was never actually using Hack font I think..?)
and allow default theme (light or dark) to be set in Hugo config and reflected in both HTML & JS
2020-07-07 10:07:46 -04:00
d970c031a5
run initial SCSS refactoring through percy 2020-07-07 08:57:26 -04:00
aa3973f570
adjust letter-spacing of bold Inter text 2020-07-05 12:13:11 -04:00
426e7d91f1
clean up styles & extend old browser support via autoprefixer/eslint 🧓🏻
and stop encoding emojis like a caveman
2020-07-04 19:29:18 -04:00
3cadddc799
go back to outlining inline code (single backticks) with light border
and make it possible to use code in post/page titles
2020-06-30 09:37:03 -04:00
45b23c45a3
link View Source in page/post footers to specific file on GitHub 2020-06-26 12:59:46 -04:00
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
12f8bd8084
renamed default branch to main 2020-06-21 10:44:43 -04:00
b97f7a00de
small changes to AMP CSS 2020-06-19 11:19:32 -04:00
ef16a9e3f9
merge changes from upstream analytics v3 script 2020-06-17 13:13:31 -04:00
0ad9d54347
remove HTML comments by default during minify 2020-05-14 20:51:49 -04:00
24edb85379
create inline-svg partial function
[skip ci]
2020-05-14 13:36:27 -04:00
29320aa86f
bring AMP pages up to par with real layout 2020-05-01 23:54:02 -04:00
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
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
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
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
736cc775e3
straighten up header elements 2020-04-26 09:46:34 -04:00
b8166296ef
fix /site.webmanifest 2020-04-25 21:44:17 -04:00
adfa73b5fc
fingerprint CSS and JS, set one week browser cache
...and LOTS of tidying partials
2020-04-25 11:15:31 -04:00
d2648a68be
fix some dark mode logic glitches & random clean up 2020-04-24 18:03:33 -04:00
8ba0a887bc
treat ALL images as assets (as they should have been all along...) 2020-04-21 14:34:55 -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
8537042ff1
stop hardcoding images/ directory in content frontmatter 2020-04-16 09:34:58 -04:00
abbc3f9678
make the main content/blog section configurable instead of hardcoded to notes 2020-04-13 17:25:29 -04:00
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
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
48498c772f
reorganize external static assets into vendor folder (#99)
with legacy redirects via Netlify for now
2020-04-04 12:03:04 -04:00
55a696c261
constrain header width and reduce padding across the site 2020-04-04 10:18:20 -04:00
236ee5b0af
small fix to spacing on responsive list pages
and make CI & Netlify use a newest version of Go (required for modules)
2020-04-03 17:09:46 -04:00
fbf7465ff1
GitHub was down....but pages with gists should probably still load 2020-04-02 21:19:43 -04:00
84b077e12b
bring AMP styles up to speed 2020-04-02 10:04:17 -04:00
fa018564e5
prevent Hugo's auto-escaping of base URL in twemoji JS 2020-03-30 13:01:47 -04:00
2156c6ed88
swap native emojis for Twemojis 🎉 (#92) 2020-03-29 15:30:12 -04:00
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
9bcd47e3d6
revert change to improve post link 2020-03-26 09:44:35 -04:00