curben
b6acf222e2
feat(lazy_loading): remove loading-attribute-polyfill due to requirement of inline script
...
* it requires 'unsafe-inline' for script-src policy
2019-08-30 08:23:06 +01:00
curben
c282f06c76
refactor(addJs & addCss): forEach()
2019-08-30 07:40:29 +01:00
curben
503584a543
fix(cloudinary): Statically not support animated webp
2019-08-30 07:24:07 +01:00
curben
bde71fd644
fix(cloudinary): <noscript> should have class attribute
2019-08-30 06:29:19 +01:00
curben
f39bab62de
refactor(cloudinary): combine variables
2019-08-30 05:52:16 +01:00
curben
63a8fccc48
Revert "fix(head): meta generator tag should be after <title>"
...
This reverts commit 710b9b25a1
.
2019-08-30 05:50:10 +01:00
curben
710b9b25a1
fix(head): meta generator tag should be after <title>
...
- so that browser can parse <title> asap
2019-08-30 05:43:20 +01:00
curben
2207579d19
feat(metaGenerator): restore metaGenerator
...
* hexo's meta_generator also append to <title> of <svg>
Revert "feat(metaGenerator): drop metaGenerator in favor of Hexo's"
This reverts commit afb4741be6
.
2019-08-30 05:40:35 +01:00
curben
0c5735f7b6
fix(cloudinary): fileName should be let
2019-08-30 04:34:33 +01:00
curben
e6637dcef3
refactor(cloudinary): use Statically Imgpx image resize function
...
- https://developers.marsble.com/docs/imgpx
2019-08-30 04:31:44 +01:00
curben
3187b18bef
docs(openGraph): og:image is now derived from <a>
2019-08-26 21:00:24 +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
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
b4ff248560
feat(addCss): add helper to embed css file
2019-08-26 09:12:05 +09:30
curben
f90efdfe5f
feat(addJs): add a helper to embed <script src="">
2019-08-26 08:14:21 +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
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
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
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