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

92 Commits

Author SHA1 Message Date
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
51bcf35026
pipe titles through markdownify for fancy quotes 2020-03-23 10:32:23 -04:00
12bce797d6 Redesign post headings 2020-03-23 10:07:31 -04:00
fa1161cd27
allow comments to be disabled on individual posts 2020-03-18 20:14:53 -04:00
d5b5a71078
enable comments via utteranc.es 2020-03-17 19:32:27 -04:00
aadc1fe47b
fix heading styles on AMP pages 2020-03-14 09:36:29 -04:00
6c59bb2edc
hugo mod init, and other cleanup 2020-03-10 23:11:10 -04:00
a48c16d65c
Generate index of content for Algolia search (#50) 2020-03-03 15:41:15 -05:00
7c621cadb4
update Inter font to v3.12 2020-02-26 17:05:50 -05:00
f19084006f
make absURLs more resilient (trailing slashes/not) 2020-02-03 08:58:30 -05:00
af61020152
Revert "trying to improve AMP analytics"
This reverts commit 638463895ad33818320c2f61c52914ece887e7b1.
2020-02-02 18:49:30 -05:00
638463895a
trying to improve AMP analytics 2020-02-02 18:36:09 -05:00
1ce87747b6
update /uses 2020-02-01 19:05:15 -05:00
cfc99631a9
simple analytics pixel on AMP pages 2020-02-01 08:11:54 -05:00
9e794df120
test out simple analytics 2020-01-31 17:48:04 -05:00
a8428da65c
Hack webfont for code -- https://github.com/source-foundry/Hack 2020-01-27 09:36:02 -05:00
8d5d9c3a25
remove h-entry class -- confuses Google article descriptions 2020-01-25 12:20:38 -05:00
bfa184d2a9
preload web fonts 2020-01-23 11:41:37 -05:00
8450871531
draft /uses page 2020-01-22 12:54:23 -05:00
671ca250cc
more small font tweaks (and weird encoding fixes) 2020-01-22 09:47:48 -05:00
602f8cc137
Inter font on AMP pages (and other small tweaks) 2020-01-22 08:37:05 -05:00
87fc0f949f
test webmentions & other indieweb stuff 2020-01-21 09:44:39 -05:00
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
84e38d371a
better gist shortcode w/ AMP and RSS versions 2020-01-19 18:19:51 -05:00
6c44b7d44d
re-organize a bunch of partials 2020-01-14 18:08:42 -05:00
ec713f5efe
clean up partials and styles 2020-01-03 13:58:48 -05:00
f4b4a2d88a
revert RenderString addition in 7001394614148762b390ee96bb66cfc922faeb26 2019-12-28 10:56:52 -05:00
ef32f73372
cache some partials 2019-12-26 22:06:04 -05:00
7001394614
shortcode lookup being weird -- explicitly calling RenderString seems to help? 2019-12-23 12:54:47 -06:00
e25c98154e
only add target=_blank to external links 2019-12-23 10:46:47 -06:00
f10510a7ab
Hugo v0.62.0 features (link template hooks!) and fixes 2019-12-23 09:48:12 -06:00
47016b1109
h1 permalink on video pages & subtitle styling 2019-12-20 11:19:57 -05:00
70fa8460d2
support subtitles via video shortcode 2019-12-20 09:19:17 -05:00
c87bfd7797
support full HTML captions for image shortcode 2019-12-17 11:39:23 -05:00