Commit Graph

1256 Commits

Author SHA1 Message Date
MDLeom 8c5fb258de
fix(image.js): syntax 2021-01-15 01:30:27 +00:00
MDLeom 8394f7eeea
chore(npm): disable lockfile in pnpm
- https://pnpm.js.org/en/npmrc#lockfile
2021-01-12 03:33:54 +00:00
MDLeom e7449110c8
fix: update Statically API endpoint
- new endpoint seems easier to cache, especially when cloudflare is configured not to cache query string
  * https://support.cloudflare.com/hc/en-us/articles/218411427#summary-of-page-rules-settings
- Statically doesn't support resizing webp & gif yet
- screenshot API also doesn't support mobile version
  * it was previously working
2021-01-12 03:32:41 +00:00
MDLeom 23d5e3a2fc
post(caddy2-precompressed): minor grammar 2021-01-11 22:31:49 +00:00
MDLeom 7bb2a520f0
fix(favicon): remove legacy attributes
- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
2020-12-23 22:32:52 +00:00
MDLeom c7e7b1ce13
post(alpine-binaries): update to 3.12 2020-12-18 16:48:12 +00:00
MDLeom ca58b7901e
post(cloudflare-hsts): mdleom.com is now in preload list
- but not yet deploy to stable
2020-12-17 14:32:45 +00:00
MDLeom 3f322336bf
ci(gitlab): fix trigger strategry syntax
- https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#mirroring-status-from-triggered-pipeline
2020-12-12 14:17:28 +00:00
MDLeom ec21259bb2
ci(gitlab): trigger job in curben/curben.gitlab.io
- https://docs.gitlab.com/ee/ci/multi_project_pipelines.html
- also dedup rules:if conditions
2020-12-12 14:15:39 +00:00
MDLeom 4289211a09
post(caddy): add gitlab pages as alternative upstream 2020-12-12 10:05:16 +00:00
MDLeom 6b221e6531
fix(css): darker a:visited 2020-12-12 09:29:20 +00:00
MDLeom f7cba273bc
docs(readme): update gitlab pages link 2020-12-12 09:26:34 +00:00
MDLeom 2ae392d444
ci(gitlab): remove gitlab pages
- partially revert 44aa5c9362
- https://gitlab.com/curben/curben.gitlab.io
2020-12-12 09:06:16 +00:00
MDLeom f736cae293
docs(readme): update scripts' link 2020-12-12 08:20:57 +00:00
MDLeom ae363a7de0
post(hexo-gitlab): remove warning 2020-12-12 08:15:13 +00:00
MDLeom d6d520dbb3
chore: hexo convention 'npm run build'
- 3d337683d2/package.json (L6)
2020-12-12 08:13:30 +00:00
MDLeom 44aa5c9362
ci(gitlab): add gitlab pages as a mirror 2020-12-12 08:11:35 +00:00
MDLeom 23db552776
post(rhythmbox): add 'linux' tag 2020-12-07 03:06:21 +00:00
MDLeom 005c3419d4
fix(layout): move 'Newer'/'Older' out of <a> 2020-12-06 11:57:22 +00:00
MDLeom 5a2994cff1
fix(css): consistent <a> color
- inspired by wikipedia
2020-12-06 11:42:39 +00:00
MDLeom 914cba20b2
refactor(css): dedup 2020-12-05 11:54:15 +00:00
MDLeom ffa9a39ca8
fix(css): increase front-page 'recent posts' & 'tags' font-size
- especially on tablet
2020-12-05 11:47:57 +00:00
MDLeom 520cafa35c
fix(css): consistent font-size across phone screen
- avoid reducing font size in smaller screen
2020-12-05 11:42:01 +00:00
MDLeom c01dd395b1
fix(layout): enable zoom
- https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#Viewport_width_and_screen_width
2020-12-03 22:23:30 +00:00
MDLeom c834bc2d8d
post(nixos-config): utilise malware-blocking dns
- https://1.1.1.1/family/
- add quad9, tls1.3 & enforce dnssec
2020-12-01 10:56:15 +00:00
MDLeom 0a725e9ecf
fix(redirects): update /files/ paths
- 1f70316713
2020-11-29 02:02:34 +00:00
MDLeom 1f70316713
feat(redirects): /files/ reverse proxy
- reduce 3rd-party links for eepsite compatibility
2020-11-29 01:58:26 +00:00
MDLeom 8c5939b5f1
post: Enabling HSTS preload in Cloudflare 2020-11-21 23:08:23 +00:00
MDLeom 3dd6d31b7e
post(tags): add 'cloudflare' 2020-11-21 10:21:24 +00:00
MDLeom 9a7e4c6a9c
post(cloudflare-caching): correction 2020-11-21 10:17:45 +00:00
MDLeom 86cf708fda
feat: add smartypants
- replace right arrow with unicode equivalent
2020-11-21 03:38:51 +00:00
MDLeom 9b74a5fce3
fix(img): '/img/' prefix is not required 2020-11-21 03:05:59 +00:00
MDLeom 71eb1fc347
post: Cloudflare does not cache html by default 2020-11-21 02:35:14 +00:00
MDLeom a5d41b429a
post(hexo-guide): mirror correction 2020-11-17 04:52:39 +00:00
MDLeom 4794ed5d7e
post(hexo-guide): add 'netlify' tag 2020-11-17 04:50:23 +00:00
MDLeom 996ea52384
post(hexo-guide): link hexo.io guides 2020-11-17 04:49:10 +00:00
MDLeom a0f37396f4
fix(header): remove Content-Language
- incorrect usage
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language
2020-11-14 00:53:04 +00:00
MDLeom 775566136c
post(caddy-precompressed): warn about testing on browsers 2020-11-13 23:02:37 +00:00
MDLeom d9077aaf1c
fix(assets): remove cache-buster 2020-11-13 05:17:23 +00:00
MDLeom 56992697a7
post(caddy): xml/rss should not be cached for a week 2020-11-12 22:48:03 +00:00
MDLeom d50f580cc5
post(caddy): dedup config 2020-11-12 22:22:26 +00:00
MDLeom 4d98701970
chore(snyk): add SNYK-JS-TRIM-1017038
- https://snyk.io/vuln/SNYK-JS-TRIM-1017038
2020-11-12 06:58:09 +00:00
MDLeom 572a716140
post: 'Serving pre-compressed files in Caddy 2' 2020-11-12 06:53:41 +00:00
MDLeom e1dbedc2ce
fix(css): contrast on parts of codeblock 2020-11-10 03:19:03 +00:00
MDLeom 153ccfe96a
post(nixos-caddy): fix caddyTwo.nix 2020-11-10 03:17:18 +00:00
MDLeom 259c0aa1b1
post(caddy): hsts header typo 2020-11-10 02:14:10 +00:00
MDLeom 53bdc4548e
post(nixos): attach complete configuration.nix 2020-11-09 01:08:18 +00:00
MDLeom a1c0b6b1d0
post(nixos-caddy): update to NixOS 20.09 & caddy 2.1 2020-11-09 00:55:42 +00:00
MDLeom 62ebd35ae1
feat(theme): add post's source 2020-11-08 11:37:21 +00:00
MDLeom a6a13ffac8
fix(theme): alias default language to en-GB 2020-11-08 11:22:27 +00:00