Commit Graph

493 Commits

Author SHA1 Message Date
curben e4cf43dd85 test(snyk): mention affected deps 2019-06-22 14:22:45 +09:30
curben 52a3c29295 Merge branch 'blog-redir' into 'master'
fix(seo): redirect post link to /blog/

See merge request curben/blog!22
2019-06-21 04:25:30 +00:00
curben 9681db0fe6 fix: append slash to redirect 2019-06-21 13:53:12 +09:30
curben a889de9398 fix(seo): redirect post link to /blog/
* sitemap "has less powerful signal to Googlebot"
* https://support.google.com/webmasters/answer/139066
2019-06-21 13:46:54 +09:30
curben 878b15221e chore: ignore optional deps
* https://github.com/mozilla/nunjucks/issues/1227
2019-06-21 13:41:43 +09:30
curben 94d57346a6 test(snyk): ignore set-value and mixin-deep
* https://snyk.io/vuln/SNYK-JS-SETVALUE-450213
* https://snyk.io/vuln/SNYK-JS-MIXINDEEP-450212
* Remove braces and marked
2019-06-21 13:39:29 +09:30
curben 2b63f11742 fix(tags): tag url in lowercase, display in titlecase
* netlify uses lowercase url
2019-06-21 11:28:05 +09:30
curben aa3d94aa4b feat: add link() helper
* Based on link_to() helper, without unneeded attribute and option
* https://hexo.io/docs/helpers#link-to
2019-06-15 20:42:07 +09:30
curben 36201c2ada fix(footer): add gitlab source link 2019-06-15 20:29:07 +09:30
curben 2c82409317 fix: temporarily set the homepage to /blog 2019-06-13 13:45:17 +09:30
curben 9329f21f3a feat(page): add title 2019-06-13 13:44:17 +09:30
curben b0078b3b33 style(layout): titlecase 2019-06-13 13:40:20 +09:30
curben e130371288 feat(layout): Add page number to blog <title> 2019-06-13 13:38:30 +09:30
curben e4b065288c fix(layout): set website's and blog's <title> 2019-06-13 13:35:49 +09:30
curben 1eaf01b8ed style: replace 'using' with 'with' 2019-06-13 10:18:25 +09:30
curben 79189e0788 fix(redirects): use HTTP 302
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302
don't update search engine
2019-06-12 19:01:14 +09:30
curben 08de6cf3c2 fix(redirects): use HTTP 301 2019-06-12 19:00:02 +09:30
curben 6269abfb04 chore: include _redirects file 2019-06-12 18:02:57 +09:30
curben f7abf709d0 docs(readme): add license disclaimer and shorten CC 2019-06-12 18:00:35 +09:30
curben 1ccf7038b8 fix: Temporarily set the homepage to /blog 2019-06-12 17:54:08 +09:30
curben e2a27c2d8f feat: move blog to separate subdirectory
based on https://github.com/hexojs/site
2019-06-12 17:36:24 +09:30
curben 6b5feb809e docs(page): add Disclaimer page
credit https://www.termsfeed.com/blog/disclaimer-examples/
2019-06-12 11:27:57 +09:30
curben 6fff7ee8d2 fix(post): links not rendered 2019-06-11 19:15:57 +09:30
curben 2ae8f9b08e fix(css): use sans-serif for content, serif for title
* Based on Wikipedia style
* https://css-tricks.com/sans-serif/
2019-06-11 19:09:55 +09:30
curben 357458c613 fix(post): Add more recent example and web security articles. 2019-06-11 13:38:28 +09:30
curben b99bcb4c26 style: Add credit to loading.svg 2019-06-10 18:23:17 +09:30
curben 6ce1173a8d fix: Remove target="_blank" in <a>
https://css-tricks.com/use-target_blank/
2019-06-09 20:35:09 +09:30
curben f5cacbeebd fix(post): Tag in titlecase 2019-06-09 14:08:19 +09:30
curben 87dbfda834 docs(post): Add 'Prevent Engadget from redirect to guce' 2019-06-09 14:07:39 +09:30
curben 6ab227fe25 fix(seo): yandex requires html tag 2019-06-08 21:16:02 +09:30
curben dee5062026 feat(seo): Add Yandex Webmaster
https://r3bl.blog/en/exploring-duckduckgo-for-smaller-websites/
2019-06-08 21:08:44 +09:30
curben b353206762 feat(seo): Add Bing Webmaster
https://r3bl.blog/en/exploring-duckduckgo-for-smaller-websites/
2019-06-08 20:13:44 +09:30
curben fb36bca7f1 refactor: use page.subtitle instead of page.excerpt
* Source file (.md) looks a bit clearer this way.
* Remove unused options in openGraph.js
2019-06-08 17:31:39 +09:30
curben 68cb50a0ab docs(readme): mention removal of jquery and fancybox 2019-06-08 15:02:47 +09:30
curben a5d1791b14 feat(search): replace gitlab search with duckduckgo
todo: algolia
2019-06-07 18:39:51 +09:30
curben 105de8515c refactor(es6): arrow function 2019-06-07 09:42:16 +09:30
curben 7fd712bba0 docs: mention vscode 2019-06-06 22:06:26 +09:30
curben 62075f46e0 docs: mention Inkdrop app 2019-06-06 21:29:41 +09:30
curben c0abc8bb40 chore(config): Remove unused config 2019-06-06 21:00:37 +09:30
curben 60fa21c1ee fix(post): Display post content without excerpt
https://hexo.io/docs/variables.html
2019-06-06 20:57:28 +09:30
curben 9d09797f7d fix(excerpt): Reduce post excerpt to one-line 2019-06-06 20:52:43 +09:30
curben 7a3f86f5b7 refactor(css): remove unused attribute 2019-06-06 19:48:13 +09:30
curben 48db9251c6 feat(archive-page): Add post excerpt 2019-06-06 19:45:50 +09:30
curben 513bd9f7e1 fix(archive-page): bold title and decrease font-size of date
* Replace px with em
* Remove unused class
2019-06-06 19:24:20 +09:30
curben cfd1b62843 fix(css): smaller title and title's margin-bottom 2019-06-05 13:37:47 +09:30
curben dec7ae72f7 feat: Add homepage link to mobile page title 2019-06-05 13:15:51 +09:30
curben ad7616ebab fix(css): use ch to set max-width and padding
https://jrl.ninja/etc/1/
https://secretgeek.github.io/html_wysiwyg/html.html
https://news.ycombinator.com/item?id=20100232
https://www.reddit.com/r/css/comments/bb73cw/58_bytes_of_css_to_look_great_nearly_everywhere/ekj8yhm/
2019-06-05 13:03:40 +09:30
curben bb87e3b914 fix: display date using <span> instead of <a>
* unify date_format options
2019-06-04 13:55:43 +09:30
curben ab5161bbc8 style: parse date only, ignore time 2019-06-04 13:35:48 +09:30
curben 8717b52283 fix(sitemap): use post.lastUpdated
* post.updated = execution time of 'hexo generate'
* use moment.format() instead of Date.toISOString() to avoid timezone conversion
  - Use '[T00:00:00.000Z]' to ignore time, instead of '[T]HH:mm:ss.sss[Z]'
  - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
2019-06-04 13:08:09 +09:30