Commit Graph

983 Commits

Author SHA1 Message Date
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
curben fba0d3deab feat(openGraph): add post's published time to meta tag
* Rename function name to camel case (standardjs)
* Skip timezone conversion, but not using the date() helper
* Open Graph tag is based on Wordpress Yoast, noticed through
https://dvt.name/2019/06/03/hacking-the-casio-f-91w-to-handle-1000-psi/
2019-06-03 22:56:46 +09:30
curben 09c855ee43 Merge branch 'renovate/renovate-18.x' into 'master'
chore(deps): update dependency renovate to v18

See merge request curben/blog!21
2019-06-02 10:44:17 +00:00
Renovate Bot a82e2b16f4 chore(deps): update dependency renovate to v18 2019-06-02 07:36:29 +00:00
curben 2b3302bdf8 style: remove 'how to' from title and filename 2019-06-02 14:33:31 +09:30
curben b03b23e44e chore: install git
ef96081fc7 fix requires git
2019-06-02 14:31:08 +09:30
curben ef96081fc7 fix: cheerio doesn't escape '<' character
https://github.com/weyusi/hexo-nofollow/issues/4
2019-06-02 14:12:45 +09:30
curben 60d62f94f3 feat: add search function to mobile page
* add a gap after search form to prevent misclick
* use addEventListener() instead of onclick()
  - https://stackoverflow.com/a/34216918
2019-06-01 18:51:51 +09:30
curben 035dc384ee docs(post): Add 'How to embed SVG without using img tag' post 2019-06-01 18:02:36 +09:30
curben 824c11059d refactor: remove fill attribute from svg
it's already set in typing.css
2019-06-01 18:01:43 +09:30
curben c601a31b13 refactor: array in one line 2019-05-30 19:20:20 +09:30