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
e8bf1881c8
upgrade Hugo to v0.60.1 (new markdown parser)
2019-12-01 21:21:11 -05:00
8907e456c4
don't always show amp-video fallback message
2019-11-20 17:19:44 -05:00
d6ad47c57b
Google AMP support & switch to NPM builds ( #14 )
2019-11-19 15:23:16 -05:00
d42a00247f
image height calculations were wrong
2019-11-18 14:15:04 -05:00
a9f52bffbd
fix responsive image height scaling
2019-11-08 11:19:08 -05:00
4f7c01d600
refactor responsive SCSS using mixins
2019-11-03 21:36:51 -05:00
abf99c0106
automatically resize/optimize images via Hugo processing
2019-10-27 12:44:29 -04:00
01b82e3ebe
GitHub buttons shortcode
2019-10-01 09:00:52 -04:00
1b0fac2ceb
codepen shortcode
2019-09-25 16:36:46 -04:00
00517cd384
YouTube shortcode embed parameters
2019-09-12 13:58:39 -04:00
fb21a51b8b
valid HTML - don't use px in img width and don't put figures in paragraphs
2019-09-04 22:46:31 -04:00
0cfc58daf6
more hi-res images (except shodan post)
2019-08-29 13:24:25 -04:00
6fab1ead7a
add shortcode for "retina" images
2019-08-29 13:00:17 -04:00
99f3400a36
better shortcodes for tweets and videos
2019-05-07 15:36:02 -04:00
91cbf98449
use youtube-nocookie.com for embeds instead
2019-04-02 12:19:03 -04:00
5e4df8cece
custom youtube embed shortcode
2019-04-02 12:16:39 -04:00