-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9fcce9e
Showing
216 changed files
with
40,148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"extends": | ||
- "defaults" | ||
|
||
"env": | ||
"browser": true | ||
"node": true | ||
|
||
"globals": | ||
"hexo": true | ||
"jQuery": true | ||
"$": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.DS_Store | ||
Thumbs.db | ||
db.json | ||
*.log | ||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
#public/ | ||
.deploy*/ | ||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directory | ||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git | ||
node_modules | ||
public | ||
.o2/ | ||
themes/o2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# aotu.io | ||
|
||
前端只是我们的正餐,其实我们还有许多的甜点! | ||
|
||
## Co-Editor | ||
|
||
### 关于联合编辑 | ||
|
||
凹凸实验室的宗旨是`面向开发(Open Oriented)`,所以我们支持`开源`和`创作共用`的精神,也十分欢迎其他优秀的个人、团队来凹凸实验室投稿。 | ||
|
||
我们在收到你的投稿之后,会第一时间进行审核,审核通过后即发布官网进行安利推广。除此之外,凹凸实验室会利用自己的公众号来安利推送您的文章,同时发布到`掘金`APP。 | ||
|
||
### 如何投稿? | ||
|
||
1. `fork` 凹凸实验室官网源码:https://github.com/o2team/o2team.github.io | ||
2. 在v2分支的`source/_posts/` 路径下新建文章,格式参考现有的文章,图床请使用您自己的图床哦 | ||
3. `pull request`,注明『投稿』 | ||
|
||
|
||
### 关注公众号 | ||
|
||
关注公众号可以及时了解我们的信息、博文推送。 | ||
|
||
![凹凸实验室](https://aotu.io/assets/img/qrcode.jpg) | ||
|
||
## 其他 | ||
|
||
1. [安装使用](https://github.com/o2team/o2team.github.io/wiki/A0-How-to-use) | ||
1. [新建文章](https://github.com/o2team/o2team.github.io/wiki/A1-New-Post) | ||
1. [博客特性](https://github.com/o2team/o2team.github.io/wiki/B0-Features) | ||
1. [Roadmap](https://github.com/o2team/o2team.github.io/wiki/B1-roadmap) | ||
1. [更新日志](https://github.com/o2team/o2team.github.io/wiki/B2-change-logs) | ||
1. [文章发布](https://github.com/o2team/o2team.github.io/wiki/Z0-Publish) | ||
1. [文章运营](https://github.com/o2team/o2team.github.io/wiki/Z1-Operation) | ||
1. [Web开发测试题](https://github.com/o2team/o2team.github.io/wiki/Z2-Web-Developer-Test) | ||
1. [联合编辑](https://github.com/o2team/o2team.github.io/wiki/Z3-Co-Editor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
# Hexo Configuration | ||
## Docs: http://hexo.io/docs/configuration.html | ||
## Source: https://github.com/hexojs/hexo/ | ||
|
||
# Site | ||
title: Aotu.io | ||
subtitle: 凹凸实验室 | ||
subtitle_desc: Open Oriented Development Center | ||
slogan: Open Oriented, more haste, less speed. | ||
keywords: 凹凸实验室, Aotu, 前端开发, 全栈开发, IOS开发, Android开发 | ||
description: 凹凸实验室(Aotu.io) 始建于2015年,是一个年轻基情的技术社区组织。<br/>O2面向多终端技术体系,致力于构建沉淀与分享包括但不限于交互、页面制作技巧、前端开发、原生APP开发等方面的专业知识及案例。 | ||
author: 凹凸实验室 | ||
language: zh-cn | ||
timezone: UTC | ||
|
||
# URL | ||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' | ||
url: https://aotu.io | ||
root: / | ||
permalink: notes/:year/:month/:day/:title/ | ||
permalink_defaults: | ||
|
||
# Directory | ||
source_dir: source | ||
public_dir: public | ||
tag_dir: tags | ||
archive_dir: notes | ||
category_dir: cates | ||
code_dir: downloads/code | ||
i18n_dir: :lang | ||
skip_render: | ||
- 'baidu*.html' | ||
- 'demo/**' | ||
|
||
# Writing | ||
new_post_name: :year-:month-:day-:title.md # File name of new posts | ||
default_layout: post | ||
titlecase: false # Transform title into titlecase | ||
external_link: true # Open external links in new tab | ||
filename_case: 0 | ||
render_drafts: false | ||
post_asset_folder: false | ||
relative_link: false | ||
future: true | ||
highlight: | ||
enable: true | ||
line_number: true | ||
auto_detect: true | ||
tab_replace: | ||
|
||
# Category & Tag | ||
default_category: uncategorized | ||
category_map: | ||
tag_map: | ||
|
||
# Date / Time format | ||
## Hexo uses Moment.js to parse and display date | ||
## You can customize the date format as defined in | ||
## http://momentjs.com/docs/#/displaying/format/ | ||
date_format: YYYY-MM-DD | ||
time_format: HH:mm:ss | ||
|
||
# generator-index | ||
index_generator: | ||
per_page: 24 | ||
order_by: -date | ||
|
||
# tag generator | ||
## https://github.com/hexojs/hexo-generator-tag | ||
tag_generator: | ||
per_page: 24 | ||
|
||
# fragments generator | ||
## https://github.com/mamboer/hexo-generator-fragments | ||
fragments_generator: | ||
dir: fragments | ||
per_page: 24 | ||
index_dir: index | ||
|
||
# Pagination | ||
## Set per_page to 0 to disable pagination | ||
per_page: 24 | ||
pagination_dir: page | ||
|
||
# Extensions | ||
## Plugins: http://hexo.io/plugins/ | ||
## Themes: http://hexo.io/themes/ | ||
theme: lattice | ||
|
||
|
||
# Feeds | ||
## https://www.npmjs.com/package/hexo-generator-feed | ||
feed: | ||
type: atom | ||
path: atom.xml | ||
limit: false | ||
|
||
|
||
#stylus | ||
stylus: | ||
compress: false | ||
sourcemaps: | ||
comment: true | ||
inline: true | ||
sourceRoot: '' | ||
basePath: . | ||
|
||
|
||
# lunr | ||
lunr: | ||
field: all | ||
path: assets/lunr/ | ||
|
||
# Deployment | ||
## Docs: http://hexo.io/docs/deployment.html | ||
deploy: | ||
type: git | ||
message: Super AOTUMan at {{ now('YYYY-MM-DD HH:mm:ss') }} | ||
repo: | ||
github: git@github.com:o2team/o2team.github.io.git,master | ||
|
||
# Disqus | ||
disqus_shortname: | ||
|
||
# Analytics | ||
baidu_analytics: e850b980d029480b092fdd7503c3f8de | ||
google_analytics: | ||
cnzz_analytics: 1258539944 | ||
|
||
# Social | ||
twitter: o2circle | ||
github: | ||
user: o2team | ||
repo: o2team.github.io | ||
|
||
# baidu sitemap | ||
baidusitemap: | ||
url: http://aotu.io/ | ||
|
||
# filter_cleanup | ||
hfc_useref: | ||
enable: true | ||
concat: true | ||
|
||
hfc_html: | ||
enable: true | ||
|
||
hfc_css: | ||
enable: true | ||
exclude: | ||
- '*.min.css' | ||
|
||
hfc_js: | ||
enable: true | ||
mangle: true | ||
exclude: | ||
- '*.min.js' | ||
|
||
hfc_img: | ||
enable: true | ||
interlaced: false | ||
multipass: false | ||
optimizationLevel: 2 | ||
pngquant: false | ||
progressive: false | ||
|
||
hfc_favicons: | ||
enable: false | ||
src: img/logo.png | ||
target: img/ | ||
icons: | ||
android: true | ||
appleIcon: true | ||
appleStartup: false | ||
coast: false | ||
favicons: true | ||
firefox: false | ||
opengraph: false | ||
windows: true | ||
yandex: false | ||
|
||
# O2 Theme Customation | ||
logo_url: img/o2logo.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "aotu.io", | ||
"version": "2.5.1", | ||
"private": true, | ||
"scripts": { | ||
"build": "" | ||
}, | ||
"hexo": { | ||
"version": "3.2.2" | ||
}, | ||
"dependencies": { | ||
"cheerio": "^0.20.0", | ||
"fs-extra": "^0.30.0", | ||
"hexo": "^3.2.2", | ||
"hexo-deployer-git": "0.2.0", | ||
"hexo-filter-cleanup": "github:mamboer/hexo-filter-cleanup", | ||
"hexo-generator-archive": "^0.1.4", | ||
"hexo-generator-baidu-sitemap": "mamboer/hexo-generator-baidu-sitemap", | ||
"hexo-generator-category": "^0.1.3", | ||
"hexo-generator-feed": "^1.1.0", | ||
"hexo-generator-fragments": "github:mamboer/hexo-generator-fragments", | ||
"hexo-generator-index": "^0.2.0", | ||
"hexo-generator-lunr": "^1.0.5", | ||
"hexo-generator-sitemap": "^1.1.2", | ||
"hexo-generator-tag": "^0.2.0", | ||
"hexo-renderer-ejs": "*", | ||
"hexo-renderer-marked": "^0.2.11", | ||
"hexo-renderer-stylus": "^0.3.1", | ||
"hexo-server": "^0.2.0", | ||
"hexo-util": "^0.6.0", | ||
"hexo-wordcount": "1.2.0", | ||
"lodash": "^4.13.1", | ||
"lunr": "github:codepiano/lunr.js.git" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^3.1.0", | ||
"eslint-config-defaults": "^9.0.0", | ||
"js-yaml": "^3.6.1" | ||
}, | ||
"optionalDependencies": { | ||
"hexo-browsersync": "^0.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: {{ title }} | ||
tags: | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
title: {{ title }} | ||
subtitle: "用来一句话描述文章" | ||
cover: git-flow.jpg | ||
date: {{ date }} | ||
tags: | ||
- Git | ||
- Fork | ||
author: | ||
nick: 凹凸实验室 | ||
github_name: o2team | ||
|
||
--- | ||
|
||
<!-- more --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
title: {{ title }} | ||
subtitle: "用来一句话描述文章" | ||
cover: git-flow.jpg | ||
date: {{ date }} | ||
tags: | ||
- Git | ||
- Fork | ||
author: | ||
nick: 凹凸实验室 | ||
github_name: o2team | ||
|
||
--- | ||
|
||
<!-- more --> |
Oops, something went wrong.