Commit Graph

1020 Commits

Author SHA1 Message Date
MDLeom 317704fcb2
refactor(sitemap): utilise full_url_for() 2020-07-01 08:34:40 +01:00
MDLeom 8c8dfef58a
refactor(sitemap): de-duplicate date formatting 2020-07-01 08:27:26 +01:00
MDLeom c0c8c846d1
fix(feed): published data should be formatted correctly
- rename 'data' function to 'formatDate' for clarity
2020-07-01 08:23:48 +01:00
MDLeom 88a26ab144
refactor(feed): object shorthand 2020-07-01 08:21:24 +01:00
MDLeom d0de387829
refactor(sitemap): object shorthand 2020-07-01 07:52:00 +01:00
MDLeom a2a68d3291
fix(sitemap): use latest post's date as <lastmod>
- posts[0] is used instead of posts.first() because first()
is not available after posts.toArray()
2020-07-01 07:46:16 +01:00
MDLeom 791f845ca3
fix(404): remove from sitemap and web crawler 2020-06-30 14:34:37 +01:00
MDLeom d063b59e3d
chore(webmaster): add yandex 2020-06-30 11:35:52 +01:00
MDLeom 45a8a0c402
chore: temporarily use latest commit of hexo-util
- https://github.com/hexojs/hexo-util/pull/210 is not released yet
2020-06-23 05:35:40 +01:00
MDLeom 0f45693943
chore(snyk): patch lodash 2020-06-23 05:29:13 +01:00
MDLeom d0ac052b59
feat: 'updated_option' config
- post.updated will be null if not set in front-matter
- https://github.com/hexojs/hexo/pull/4278
2020-06-23 05:27:55 +01:00
MDLeom 0752e3382c Revert "chore(deps): temporarily update hexo-util & hexo-fs"
This reverts commit c6d0b9d8b8.

- fixed in https://github.com/hexojs/hexo/pull/4276 https://github.com/hexojs/hexo/pull/4277
2020-06-23 04:03:16 +01:00
MDLeom 518584f0ab
post(caddy-v2): fix codeblock 2020-06-21 05:21:40 +01:00
MDLeom 6d8b80c257
post(caddy-v2): add v2.1 directives 2020-06-21 05:20:30 +01:00
MDLeom 9d24be770a
docs(readme): add eepsite address helper 2020-06-05 05:30:17 +01:00
MDLeom ac3fd4817d
post(onion-location): add netlify example 2020-06-05 04:04:35 +01:00
MDLeom e14eee2121
post(onion-location): add source links 2020-06-03 06:26:01 +01:00
MDLeom 47b10c2d70
post: Onion-Location 2020-06-03 06:01:29 +01:00
MDLeom 3e00112fe4
post(caddy-v2): add 'defer' example 2020-05-28 04:49:18 +01:00
MDLeom f994ac0043
post: 'Running Caddy 2 in NixOS 20.03' 2020-05-24 09:52:44 +01:00
MDLeom dc6535aa7e
fix(css): add margin to figcaption and copy-button 2020-05-24 06:57:44 +01:00
MDLeom f04415de47
post(caddy-v2): add www redirect example 2020-05-24 05:01:20 +01:00
MDLeom d5fab6af24
post: 'Upgrading Caddy from v1 to v2' 2020-05-23 11:24:12 +01:00
MDLeom a5c5393156
post(tag): replace 'web' with 'server' 2020-05-23 09:15:20 +01:00
MDLeom 0b56c776fc
ci(netlify): set NODE_ENV=production 2020-05-17 03:16:30 +01:00
MDLeom 1fdb005dff
ci(gitlab): git is required for npm install from github repo 2020-05-16 08:23:39 +01:00
MDLeom fead9c7cdb Revert "ci(gitlab): install hexo globally (test)"
This reverts commit 829e1aa47b.
2020-05-16 07:39:40 +01:00
MDLeom 829e1aa47b
ci(gitlab): install hexo globally (test) 2020-05-16 07:30:24 +01:00
MDLeom 3ad22a8471
ci(gitlab): switch npm to pnpm
- workaround for hexo issue
- doesn't affect renovate
2020-05-16 07:27:00 +01:00
MDLeom 871b9965bb
ci(gitlab): update npm
- partially revert 1610386252
2020-05-16 07:15:05 +01:00
MDLeom 6ea63710ee Revert "ci(gitlab): switch npm to pnpm"
This reverts commit ff62fb9ad4.
2020-05-16 07:14:06 +01:00
MDLeom ff62fb9ad4
ci(gitlab): switch npm to pnpm 2020-05-16 07:09:19 +01:00
MDLeom dd3db60689 Revert "ci(gitlab): execute hexo without using npm script"
This reverts commit da8d14b4af.
2020-05-16 07:06:47 +01:00
MDLeom da8d14b4af
ci(gitlab): execute hexo without using npm script 2020-05-16 07:03:57 +01:00
MDLeom b71c5920c8
ci(gitlab): restore hexo 2020-05-16 07:00:08 +01:00
MDLeom f6b2e9813c
ci(gitlab): temporarily stop hexo
- to upload npm cache
- remove snyk from netlify
2020-05-16 06:50:41 +01:00
MDLeom ad14d52da4
ci(gitlab): downgrade to Node 12 2020-05-16 06:43:40 +01:00
MDLeom a08511612a
ci: list npm binaries (test) 2020-05-16 06:30:43 +01:00
MDLeom ecdcc71923 Revert "ci(gitlab): install hexo-cli globally"
This reverts commit 1e3c0bb778.
2020-05-16 06:22:09 +01:00
MDLeom 1e3c0bb778
ci(gitlab): install hexo-cli globally 2020-05-16 06:14:08 +01:00
MDLeom 755e16c5de
ci(gitlab): move `npm install` to job script
- global script somehow doesn't work anymore
2020-05-15 11:34:26 +01:00
MDLeom 09871aa8fe
chore(snyk): patch '@snyk/ruby-semver' 2020-05-15 09:14:44 +01:00
MDLeom 6b277b6785
style(headers): sort alphabetically 2020-05-15 03:42:46 +01:00
MDLeom e8a914d984
fix(layout): deduplicate class name 2020-05-09 09:54:36 +01:00
MDLeom 7bc2bb6a94
fix(css): remove code block padding 2020-05-06 02:13:02 +01:00
MDLeom 696bfbab40
chore(snyk): add 'SNYK-JS-MARKDOWN-560793' and 'SNYK-JS-LODASH-567746' 2020-05-05 07:02:15 +01:00
MDLeom 7f543f2c82
ci(netlify): remove npm modules installation
- Netlify runs it by default
2020-05-04 11:37:36 +01:00
MDLeom 6c3b8bb51f
post(tags): remove 'dev' 2020-05-04 11:36:29 +01:00
MDLeom 1610386252
ci: remove unnecessary npm update
- updating Node also updates npm
2020-05-04 11:31:30 +01:00
MDLeom f09ef1d5bd
chore(snyk): patch lodash
https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-05-04 11:29:53 +01:00