Commit Graph

1077 Commits

Author SHA1 Message Date
curben-bot 02ac7d26a7 chore(deps): update dependency precss to v4 2018-11-25 04:48:31 +00:00
curben 19bb4b3d91 fix: mobile nav appears out of border in .article
don't underline certain <a> tags
2018-11-12 20:43:32 +10:30
curben ffe99717de fix: overlap the mobile nav onto other elements 2018-11-12 18:27:38 +10:30
curben 176974cd87 feat: add rounded corner to search bar 2018-11-12 11:06:36 +10:30
curben 7bbf3f4183 fix: don't underline the search icon 2018-11-11 21:29:16 +10:30
curben 7d15668c04 fix: html encoding and quote characters
html-minifier doesn't differentiate double and single quote.
backquote means URL doesn't need to be encoded or escaped.
possible IE11 issue, IE11 doesn't support ES6 anyway
https://kangax.github.io/compat-table/es6/

useful website for a47ab6: https://css-tricks.com/centering-css-complete-guide/
2018-11-11 20:57:27 +10:30
curben b7c7e9f27a fix: html encoding 2018-11-11 20:27:38 +10:30
curben a47ab65b54 feat: implement search bar
a crude search bar by piggybacking on gitlab search.
future enhancement is implement Algolia.
2018-11-11 16:55:13 +10:30
curben 8614f62257 fix: consistent header margin and font-size 2018-11-11 14:23:10 +10:30
curben 35ae615862 style: typo 2018-11-10 20:38:32 +10:30
curben 30f78af374 style: more consistent formatting 2018-11-10 20:36:23 +10:30
curben ade47b60ad Add 'How to create a Hexo blog on GitHub Pages' post 2018-11-10 20:14:46 +10:30
curben 4feb4ac180 Add 'Running locally installed node packages' post 2018-11-09 20:54:31 +10:30
curben 565714d32d fix: nav should be left text-aligned
similar to fb, patreon, github and gitlab.
2018-11-09 15:39:00 +10:30
curben 9ba11cff12 docs: add 'Use Unix line endings in Unix tools' post 2018-11-08 17:28:43 +10:30
curben 01bd1f3943 style: remove unused left nav menu 2018-11-08 12:27:15 +10:30
curben 0c98384e57 style: beautify css
https://codepen.io/jasondavis/pen/JoxMXa
2018-11-08 12:15:46 +10:30
curben 78032cfad4 style: consistent class name for mobile nav 2018-11-08 12:11:23 +10:30
curben a3fd0ce5ef docs: it's safer to append rather than prepend to $PATH 2018-11-07 17:25:28 +10:30
curben dec7a55ba5 feat: add border around mobile nav menu 2018-11-07 10:52:08 +10:30
curben 63288243d3 chore: don't run test job when renovate runs 2018-11-06 19:07:35 +10:30
curben 46c162b3a1 chore: remove hexo-cli
no longer needed due to 'scripts' method.
fix netlify build due to incorrect npm run
continued from 6cd4456d9a
2018-11-06 18:56:11 +10:30
curben db788d8df9 fix: add css workaround for IE 2018-11-06 18:49:42 +10:30
curben 913f9572d7 refactor: re-implement nav menu without javascript
inspired by https://github.com/paulcarl/skelepico-theme
2018-11-06 17:22:44 +10:30
curben 6cd4456d9a docs: use $PATH method so --global npm installation is not required 2018-11-06 12:35:06 +10:30
curben 883b18caa4 chore: move snyk and renovate to devDependencies
Installation of snyk and renovate can be skipped through '--only=prod' flag
2018-11-03 14:28:26 +10:30
curben f3748da35b style: remove leftover characters
from 63da194408
2018-11-02 12:38:01 +10:30
curben 63da194408 fix: post_link can display custom text
so the <a> workaround is not required
2018-11-02 11:32:57 +10:30
curben ed3664e7d8 fix: post_path should refer to file name not title 2018-11-01 17:42:08 +10:30
curben 6c75782dda fix: post_path doesn't work in []()
use <a> as a workaround for now
https://github.com/hexojs/hexo/issues/3321
2018-11-01 16:54:13 +10:30
curben 8ba902f188 fix: use post_path instead of post_link
post_link includes <a> tag
https://hexo.io/docs/tag-plugins#Include-Posts
2018-11-01 14:04:30 +10:30
curben 7f82b913d5 feat: add last updated date to posts 2018-11-01 12:15:03 +10:30
curben 624d449a3e style: use ES6 syntax and standard style 2018-11-01 12:15:03 +10:30
curben 316aa03bd8 feat: add updated date
post.updated variable is not used because it's the time 'hexo generate' is executed,
post.updated includes non-content update.
2018-11-01 11:35:02 +10:30
curben 9e1620e7ce docs: add differences in patch utility 2018-10-31 20:14:36 +10:30
curben d6fb00ac76 docs: Add 'Snyk failed to patch in Alpine docker' post 2018-10-31 20:09:58 +10:30
curben e28e4b1f13 fix: typo in title 2018-10-31 19:10:14 +10:30
curben d4505ba3f1 docs: add 'Prevent word break in array question on LimeSurvey' post 2018-10-31 17:37:53 +10:30
curben e57b11319c add notes about using snyk in alpine or bsd 2018-10-30 20:55:08 +10:30
curben efe8183b85 test: fix snyk unable to patch
snyk requires GNU's patch that support --backup argument,
the argument is not supported by alpine built-in busybox's patch

https://github.com/snyk/snyk/issues/108#issuecomment-412937627
https://github.com/snyk/snyk/issues/99#issuecomment-322202989

previous commit (faa286cb5f) did not fix
2018-10-30 20:29:09 +10:30
curben 5ab689f989 test: update package.json to snyk in every build 2018-10-30 18:32:41 +10:30
curben d28ffb7c75 chore(package): update hexo-nofollow to 1.0.5 2018-10-29 11:18:02 +10:30
curben d44428f41a test: hold back snyk patch due to failure 2018-10-28 20:53:06 +10:30
curben faa286cb5f test: fix snyk unable to patch 2018-10-28 19:03:30 +10:30
curben 1feecd37a4 test: only run renovate on schedules
not on master branch push
2018-10-28 18:46:18 +10:30
curben 9f4b85d636 chore: update dependencies
close !7-11
2018-10-28 18:24:55 +10:30
curben 6b71cb0ad6 test: update snyk policy to address renovate package 2018-10-28 18:02:45 +10:30
curben fb4d65a718 refactor: disable package-lock.json 2018-10-28 18:01:18 +10:30
curben b8332dee9f chore: add renovate bot
https://renovatebot.com/
2018-10-28 17:58:45 +10:30
curben 879db0d5d3 chore(package): update hexo-yam to 1.0.3 2018-10-27 18:43:29 +10:30