Commit Graph

407 Commits

Author SHA1 Message Date
curben 2a242f59a6 fix(schema): use "articleBody" for post content
* Revert 5d216d3
* https://schema.org/BlogPosting
* "text" is more suitable for itemtype="https://schema.org/Blog"
* https://schema.org/Blog is more suitable for homepage (list of posts)
* ref https://github.com/philwareham/schema-microdata-examples/blob/master/blog.html
2019-06-27 23:44:46 +09:30
curben 5f83dddf71 fix(schema): add "headline" to post title
* https://webmasters.stackexchange.com/a/98469
2019-06-27 22:39:54 +09:30
curben 5d216d3edf fix(schema): use "text" for post content
* articleBody is only applicable for (news) Article
* https://schema.org/Blog
* https://schema.org/Article
2019-06-27 22:22:29 +09:30
curben 843a8fe74f fix(schema): add license
* https://blogs.pjjk.net/phil/licence-information-in-schema-org-and-lrmi/
2019-06-27 22:09:36 +09:30
curben 8316503b5f fix(schema): add "keywords" attribute to tags
* https://stackoverflow.com/a/33056727
2019-06-27 22:01:04 +09:30
curben 132e96f69a fix(microformats): add 'published' class only to posts 2019-06-26 20:24:29 +09:30
curben b8f987934b feat(microformats): add rel-license
* http://microformats.org/wiki/rel-license
2019-06-26 20:12:07 +09:30
curben 17c823bfbd feat(microformats): add hAtom class names
* http://microformats.org/wiki/hatom
2019-06-26 17:19:14 +09:30
curben bdafe4a208 feat(microformats): add tag
* http://microformats.org/wiki/rel-tag
2019-06-26 16:56:24 +09:30
curben ec434af4ea style: reduce tab spacing 2019-06-26 16:26:23 +09:30
curben 6b9395cebc fix(sitemap): add sitemap location to <head> and robots.txt
* https://github.com/h5bp/html5-boilerplate/pull/1918
2019-06-26 16:24:19 +09:30
curben e9c907e480 style(search): 'Powered by' instead of 'Search using' 2019-06-23 17:10:15 +09:30
curben 7a7a610d8e docs(readme): hexo 3.9.0 badge 2019-06-22 14:52:40 +09:30
curben 9220800789 chore: update hexo to 3.9.0 2019-06-22 14:22:45 +09:30
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