Commit Graph

1320 Commits

Author SHA1 Message Date
curben 3187b18bef
docs(openGraph): og:image is now derived from <a> 2019-08-26 21:00:24 +09:30
curben baa5e896ad
style(sri-fallback): add credit 2019-08-26 20:57:00 +09:30
curben a36be09d24
feat(listTags): drop listTags in favor of official list_tags
- Hexo has added microformat and schema
  * https://github.com/hexojs/hexo/pull/3678
2019-08-26 20:52:24 +09:30
curben afb4741be6
feat(metaGenerator): drop metaGenerator in favor of Hexo's
* https://github.com/hexojs/hexo/pull/3671
2019-08-26 20:49:16 +09:30
curben 4b77924e2d
refactor(cssFilter): replace micromatch with String.endsWith() 2019-08-26 13:55:45 +09:30
curben 8292e31140
refactor(cssFilter): remove exclude variable 2019-08-26 13:49:03 +09:30
curben 03e82cfb2c
refactor(cssFilter): promise-fy 2019-08-26 13:48:10 +09:30
curben 0dee19bfdf
refactor: direct call without using function() 2019-08-26 13:33:23 +09:30
curben 0cc5bbb017
fix(cssFilter): use renderer
* instead of filter due to conflict with hexo-yam
2019-08-26 13:16:47 +09:30
curben 7dc55833fb
feat(assets): Statically cdn 2019-08-26 12:32:53 +09:30
curben ca57134986
post: ad industry response 2019-08-26 11:40:05 +09:30
curben 83292dd55a
post: mention Apple ITP and Google opinion 2019-08-26 09:48:05 +09:30
curben d4af69e1dc
fix(addJs): valid path 2019-08-26 09:27:38 +09:30
curben 65d463bc9d
feat(img): add image lazyloading
* https://dev.to/yashints/native-lazy-loading-is-landed-in-chrome-2kli
* https://github.com/mfranzke/loading-attribute-polyfill
2019-08-26 09:26:02 +09:30
curben 691709711c
fix(cloudinary): extra bracket 2019-08-26 09:14:35 +09:30
curben 2753cd76ea
fix(addJs): must include .js extension 2019-08-26 09:14:11 +09:30
curben b4ff248560
feat(addCss): add helper to embed css file 2019-08-26 09:12:05 +09:30
curben 2dacb8f5fe
fix: use addJs() helper 2019-08-26 08:15:31 +09:30
curben f90efdfe5f
feat(addJs): add a helper to embed <script src=""> 2019-08-26 08:14:21 +09:30
curben 0c05222589
fix(package): syntax 2019-08-26 06:19:27 +09:30
curben c416aedb2d
feat(cloudinary): use Staticaly CDN 2019-08-26 06:18:09 +09:30
curben 910dde814f
feat: add sanitize.css (via postcss-normalize) and autoprefixer 2019-08-26 00:39:10 +09:30
curben 31d99f0dab
style(css): specify combinations of sanitize.css
* rename back to typing.css
2019-08-26 00:28:20 +09:30
curben 78942640d2
style(meta_generator): camel case to metaGenerator() 2019-08-26 00:25:04 +09:30
curben 56d77c0ac5
style(js): standard 2019-08-25 23:35:24 +09:30
curben 82e79cf4c7
chore(css): sanitize.css and autoprefixer 2019-08-25 23:16:17 +09:30
curben 0da12db2ab
refactor(css): remove browser prefix
* To be added back using autoprefixer
2019-08-25 22:30:44 +09:30
curben d6801b1c7f
refactor: remove unused "typo" class
* Previously removed in css
  - bb7dd56322
2019-08-25 22:18:03 +09:30
curben bb7dd56322
refactor(css): de-normalize to declutter
* remove css rules found in normalize.css and typo.css
  - https://github.com/necolas/normalize.css
  - https://github.com/sofish/typo.css
2019-08-25 22:14:21 +09:30
curben 18f5c1d5d5
refactor(css): remove unused property
* added by https://github.com/sofish/typo.css
2019-08-25 19:21:05 +09:30
curben aef1666c76
docs(readme): add feed generator 2019-08-25 19:16:45 +09:30
curben 4c46a38c99
docs(readme): update scripts dir 2019-08-25 19:11:48 +09:30
curben ec2de84f66
fix(cloudinary): use similar resolutions in typing.css 2019-08-25 19:09:26 +09:30
curben c59f1c0740
refactor(cloudinary): remove unused w_auto and c_scale parameters
* only applicable in Cloudinary js library
2019-08-25 18:41:52 +09:30
curben a75a36714b
fix(css): set maximum height of img element 2019-08-25 17:24:05 +09:30
curben bb5b0fdd39
docs(cloudinary): set username as a variable 2019-08-25 17:23:29 +09:30
curben a15d53f6f9
refactor(cloudinary): remove unused loading.svg 2019-08-25 17:19:09 +09:30
curben 7436391bc6
fix(cloudinary): include more sizes 2019-08-25 17:15:44 +09:30
curben 4baa40a641
refactor: use native responsive image function
* https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images
* https://cloudinary.com/blog/responsive_images_with_srcset_sizes_and_cloudinary
* https://www.html5rocks.com/en/tutorials/responsive/picture-element/
* https://alligator.io/html/picture-element/
* https://www.smashingmagazine.com/2014/05/responsive-images-done-right-guide-picture-srcset/
2019-08-25 16:07:58 +09:30
curben 35daa88cfb
chore: move scripts to root folder 2019-08-25 14:37:12 +09:30
curben 633f5bc5e8
chore: always update npm 2019-08-23 12:06:25 +09:30
curben 17a1c78560
post: container can stop cookie tracking 2019-08-23 12:03:18 +09:30
curben 100a5b75d5
chore(deps): use master branch of curbengh/hexo-nofollow 2019-08-23 12:03:05 +09:30
curben d2d627ba27
chore: move hexo-server to dev-deps 2019-08-23 12:02:37 +09:30
curben 9505fd3513
fix(config): local links should ends with a slash 2019-08-12 20:33:21 +09:30
curben 801392b35d
feat: RSS feed 2019-08-12 20:32:22 +09:30
curben 93a2494d0a
fix(svg): add credit 2019-08-12 20:08:52 +09:30
curben f58819bb3a
fix(open_graph): exclude svg files 2019-08-12 19:15:10 +09:30
curben 5f06b4d260
refactor(open_graph): drop cheerio and use regex
https://github.com/hexojs/hexo/pull/3680
2019-08-12 17:41:48 +09:30
curben 8c01309128
fix(css): improve appearance of links
- remove underline when hover, makes hover more visible
- remove underline from link icon
- fill link icon with link's colour (inspired by MDN)
2019-08-12 13:57:03 +09:30