diff options
author | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2016-03-30 22:59:16 +0300 |
---|---|---|
committer | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2016-10-01 14:14:57 +0300 |
commit | 5f212cd8263ea9a4bb2861347117d35b5710fa19 (patch) | |
tree | 9110ebcc4ab83bfb028d1ab1ebf49039d6e25b51 /.eslintrc | |
parent | 129e0ee39e78cb60c376d56ccf98af1bb3f9b70a (diff) |
Transform hexo template to hugo
- [x] show case
Transformation
- [x] _default
- [x] single
- [x] summary
- [x] list
- [x] index (aka layout)
- [x] all-archives
- [x] all-categories
- [x] all-tags
- [x] archives
- [x] categories
- [x] page
- [x] post
- [x] tag
- [x] partials
- [x] about
- [x] archive-post
- ~~[ ] archive~~ Not compatible replace by Taxonomy list (like `taxonomy/category.html` or `taxonomy/tag.html`)
- [x] cover
- [x] footer
- [x] google-analytics
- [x] head
- [x] header
- [x] index
- [x] pagination
- [x] post
- [x] action
- [x] category
- [x] disqus
- [x] gallery
- [x] header-cover
- [x] header
- [x] meta
- [x] share-options
- [x] tag
- [x] script
- [x] sidebar
---
Misc
- [x] Rename `.Site.params.author.picture` to `.Site.Author.picture`
- [x] Use new function `md5` for gravatar email
- [x] Rename `.Site.params.gravatar_email` to `.Site.Author.gravatar`
- [x] Refactor menu to use `Hugo` menu system
- [x] Upgrade code to `1.9.1` (currently based on `1.7.1`)
- [x] Support non-production and production css/js
- [x] TOC ?
- [x] Custom tag
---
Not supported
- Archives pages by years `/archives/2015`
- Archives pages by month `/archives/2015/01`
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..1d06d1d --- /dev/null +++ b/.eslintrc @@ -0,0 +1,15 @@ +{ + "extends": "google", + "rules": { + "comma-dangle": [2,"never"], + "valid-jsdoc": [2, { + "requireReturnDescription": false, + "requireParamDescription": false + }], + "brace-style": [2, "stroustrup"], + "no-trailing-spaces": [2, {"skipBlankLines": true }], + "eqeqeq":[1], + "max-len": [1, 100, 4, {"ignoreUrls": true}], + "no-useless-escape":0 + } +}
\ No newline at end of file |