Skip to content

Commit 8a2c471

Browse files
committed
init commit
0 parents  commit 8a2c471

File tree

347 files changed

+33110
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+33110
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/

.travis.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
dist: trusty
2+
sudo: required
3+
addons:
4+
ssh_known_hosts:
5+
- github.com
6+
apt:
7+
packages:
8+
- nasm
9+
env:
10+
global:
11+
- TZ=Asia/Shanghai
12+
language: node_js
13+
node_js: node
14+
branches:
15+
only:
16+
- source
17+
git:
18+
depth: false
19+
submodules: false
20+
cache:
21+
apt: true
22+
directories:
23+
- node_modules
24+
before_install:
25+
- openssl aes-256-cbc -K $encrypted_245a25db3475_key -iv $encrypted_245a25db3475_iv
26+
-in id_rsa_travis.enc -out deploy_key -d
27+
- eval "$(ssh-agent -s)"
28+
- chmod 600 ./deploy_key
29+
- ssh-add ./deploy_key
30+
- git config --global user.name "travis-ci"
31+
- git config --global user.email "[email protected]"
32+
- git ls-files -z | while read -d '' path; do touch -d "$(git log -1 --format="@%ct"
33+
"$path")" "$path"; done
34+
- git clone --branch=source --single-branch [email protected]:selfteaching-learning-notes/selfteaching-learning-notes.github.io.git
35+
.deploy_git
36+
install: npm install
37+
before_script:
38+
script:
39+
- hexo clean
40+
- hexo g -d

_config.yml

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
# Site
6+
title: 自学营学员笔记
7+
subtitle:
8+
description:
9+
keywords:
10+
author: 自学营团队
11+
language: zh-CN
12+
timezone:
13+
14+
# URL
15+
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
16+
url: https://selfteaching-learning-notes.github.io
17+
root: /
18+
permalink: :category/:title/
19+
permalink_defaults:
20+
21+
# Directory
22+
source_dir: source
23+
public_dir: public
24+
tag_dir: tags
25+
archive_dir: archives
26+
category_dir: categories
27+
code_dir: downloads/code
28+
i18n_dir: :lang
29+
skip_render:
30+
31+
# Writing
32+
new_post_name: :year-:month-:day-:title.md # File name of new posts
33+
default_layout: post
34+
titlecase: false # Transform title into titlecase
35+
external_link: true # Open external links in new tab
36+
filename_case: 0
37+
render_drafts: false
38+
post_asset_folder: false
39+
relative_link: false
40+
future: true
41+
highlight:
42+
enable: true
43+
line_number: true
44+
auto_detect: false
45+
tab_replace:
46+
47+
# Home page setting
48+
# path: Root path for your blogs index page. (default = '')
49+
# per_page: Posts displayed per page. (0 = disable pagination)
50+
# order_by: Posts order. (Order by date descending by default)
51+
index_generator:
52+
path: ''
53+
per_page: 10
54+
order_by: -date
55+
56+
# Category & Tag
57+
default_category: uncategorized
58+
category_map:
59+
tag_map:
60+
61+
# Date / Time format
62+
## Hexo uses Moment.js to parse and display date
63+
## You can customize the date format as defined in
64+
## http://momentjs.com/docs/#/displaying/format/
65+
date_format: YYYY-MM-DD
66+
time_format: HH:mm:ss
67+
68+
# Pagination
69+
## Set per_page to 0 to disable pagination
70+
per_page: 10
71+
pagination_dir: page
72+
73+
# Extensions
74+
## Plugins: https://hexo.io/plugins/
75+
## Themes: https://hexo.io/themes/
76+
theme: next
77+
78+
# Deployment
79+
## Docs: https://hexo.io/docs/deployment.html
80+
deploy:
81+
type: git
82+
repo: [email protected]:selfteaching-learning-notes/selfteaching-learning-notes.github.io.git
83+
branch: master
84+
85+
# Search
86+
## https://pisces.theme-next.org/docs/third-party-services/search-services
87+
search:
88+
path: search.xml
89+
field: post
90+
format: html
91+
limit: 10000

id_rsa_travis.enc

1.64 KB
Binary file not shown.

0 commit comments

Comments
 (0)