Commit Graph

748 Commits

Author SHA1 Message Date
curben 2abffc6977
style(css): ordering 2019-08-30 18:19:30 +01:00
curben c8e9d0d0b4
fix(css): remove unused css rules 2019-08-30 18:16:03 +01:00
curben 64b7c25ce7
fix(css): use sanitize/typography font 2019-08-30 18:13:02 +01:00
curben e6969c729e
style(layout): spacing 2019-08-30 18:00:31 +01:00
curben a33601013b
fix(theme): unify language config 2019-08-30 17:18:23 +01:00
curben 83067c6d5d
fix(rss): add rss link to header links and /about 2019-08-30 17:16:38 +01:00
curben 0da56daf5d
fix(js): defer clipboard.min.js
- https://stackoverflow.com/a/32413638
2019-08-30 11:20:40 +01:00
curben 2cde665dbb
fix(css): remove top margin of <hr> outside of article
- compatibility with Dark Reader
2019-08-30 09:10:55 +01:00
curben 96cccd5633
fix: reverse bracket 2019-08-30 08:34:41 +01:00
curben be8b693ce1 Revert "fix(hexo-yam): temporarily disable to debug SRI"
This reverts commit dd9d45ebb1.
2019-08-30 08:31:57 +01:00
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 dd9d45ebb1
fix(hexo-yam): temporarily disable to debug SRI 2019-08-30 07:48:45 +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 1b29dac14b
fix(css): override input padding in sanitize/forms
* conflict with padding-left of .searchBox
2019-08-30 06:05:49 +01:00
curben f39bab62de
refactor(cloudinary): combine variables 2019-08-30 05:52:16 +01:00
curben 020ba39fff
fix(head): meta generator tag should be after <title>
- so that browser can parse <title> asap
2019-08-30 05:50:48 +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 9740be51ae
fix(css): Restrict sizing to the page width in all browsers
* especially in mobile browsers
2019-08-30 05:48:26 +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 156c10460a
fix(css): increase margin between .article-tag-list-item
* also use relative length (em)
2019-08-30 05:36:54 +01:00
curben 9649e13b1d
fix(css): remove margin and padding for .article-meta 2019-08-30 05:34:54 +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 e4593d3f87
fix(css): remove sanitize/page 2019-08-30 04:04:07 +01:00
curben b258744c18
post: add git commands 2019-08-29 10:29:03 +01:00
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