363b4edf1c
shift asset processing to webpack ( #424 )
...
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
2021-06-19 17:19:01 -04:00
3fa058ee76
finally remove every trace of AMP 🥳 ( #415 )
2021-06-01 07:52:49 -04:00
6c3a2185ee
fix some AMP errors
2021-03-17 08:25:36 -04:00
ceee1f10ad
remove redundant title tag on <img>s
2020-11-30 15:22:59 -05:00
9f32e8ba3f
fix some CSP vs AMP errors
2020-11-28 11:46:39 -05:00
9c0046cb62
render all image tags as figures
2020-11-15 09:35:55 -05:00
cdf867920e
lazy load images within page content
2020-08-31 10:53:47 -04:00
e07934517c
fix weird chrome sandbox quirks on dark mode example's iframe
2020-08-14 11:10:47 -04:00
17824d4c5c
fix a few RSS validation warnings
2020-07-20 12:44:21 -04:00
2909e934e7
rename atom shortcodes from .atom.xml to .atom.atom, and stop using symlinks
...
let's see if this fixes the issue of the wrong shortcode types (usually AMP) being chosen inconsistently
2020-07-19 12:29:51 -04:00
a583a3a0e7
fix post titles not shrinking on mobile view, and clean up optimize-image partial
2020-07-14 20:29:49 -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
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
99d13da0c7
new Twitter oEmbed endpoint (shortcode input changes from tweet ID to full URL)
...
https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-oembed
some hacking is required to continue passing only the tweet ID to <amp-twitter data-tweetid="..."> at the same time. ugh.
https://amp.dev/documentation/components/amp-twitter/#attributes
2020-06-28 11:29:35 -04:00
0b98f51a74
switch tweet embed centering to recommended method:
...
https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/overview
2020-06-27 23:09:42 -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
f29033f383
re-tool/clean up scripts and redirects
2020-06-19 09:45:48 -04:00
a6cb95c0d7
clean up redirects/404s & other random housekeeping
2020-06-02 14:00:40 -04:00
29320aa86f
bring AMP pages up to par with real layout
2020-05-01 23:54:02 -04:00
35bfbb517c
iframe shortcode for valid AMP
2020-04-30 07:53:08 -04:00
32c4e1140d
update /previously, add Comic Neue webfont
2020-04-27 10:43:52 -04:00
2548b320fc
make images linkable via shortcode param
2020-04-23 12:43:43 -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
dc3f1cb07c
revert adding async
to some embed scripts
...
document.write() isn't allowed on asynchronously loaded scripts
2020-04-07 18:48:53 -04:00
bfc11b4600
atom feed shortcode fixes
2020-04-07 09:58:11 -04:00
fbf7465ff1
GitHub was down....but pages with gists should probably still load
2020-04-02 21:19:43 -04:00
2156c6ed88
swap native emojis for Twemojis 🎉 ( #92 )
2020-03-29 15:30:12 -04:00
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
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
e629f00492
just some SASS cleanup
2020-01-28 00:11:22 -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
f51e912632
make optimize-image more function-like
...
....instead of relying on $.Scratch
2020-01-15 10:30:01 -05:00
6c44b7d44d
re-organize a bunch of partials
2020-01-14 18:08:42 -05:00
09e9953c66
fix entity encoding in image alt/title attributes
2020-01-10 09:23:57 -05:00
ec713f5efe
clean up partials and styles
2020-01-03 13:58:48 -05:00
991d032ea8
don't insert HTML5 video player in RSS feed, direct link instead
2019-12-30 11:45:03 -05:00
d96028dbb5
fix double alt attributes on amp-img tags
2019-12-28 10:48:55 -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
a7b9f897f8
extract/reuse logic for optimizing images
2019-12-23 11:52:30 -06:00
f10510a7ab
Hugo v0.62.0 features (link template hooks!) and fixes
2019-12-23 09:48:12 -06:00
70fa8460d2
support subtitles via video shortcode
2019-12-20 09:19:17 -05:00
2465903ff5
markdownify image captions
2019-12-19 13:04:02 -05:00
c87bfd7797
support full HTML captions for image shortcode
2019-12-17 11:39:23 -05:00
fa98e48664
if multiple of the same shortcode are used, only load scripts once
2019-12-15 23:11:18 -05:00
951c5f2c3f
more shortcode tweaks for valid RSS
2019-12-15 14:06:00 -05:00
d9fb3ff9b9
full-text RSS feed
...
involves hacky symlinked shortcodes, otherwise AMP version gets chosen. not a bug but maybe file feature request: https://github.com/gohugoio/hugo/issues/5204
2019-12-15 10:52:41 -05:00
96ad258d36
change a BUNCH of if's to with's to prepare for theme extraction
2019-12-03 12:41:55 -05:00
0b62be6226
re-organize templates (use baseof.html)
2019-12-02 18:47:44 -05:00