mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
optimize #5, remove unnecessary dependencies, add icon and meta color.
This commit is contained in:
@@ -1,19 +1,15 @@
|
|||||||
# Site Configuration
|
# Site Configuration
|
||||||
title: 高速上手 C++ 11/14/17
|
title: 高速上手 C++ 11/14/17
|
||||||
subtitle:
|
subtitle: C++ 11/14/17 On the Fly
|
||||||
description: "欧长坤"
|
description: "欧长坤"
|
||||||
author: 欧长坤
|
author: 欧长坤
|
||||||
email:
|
email: hi[at]changkun.us
|
||||||
language:
|
language: zh-CN
|
||||||
|
|
||||||
# URL
|
# URL
|
||||||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
|
||||||
url: https://changkun.de/modern-cpp/
|
url: https://changkun.de/modern-cpp/
|
||||||
root: /
|
root: /
|
||||||
permalink: :year/:month/:day/:title/
|
permalink: :year/:month/:day/:title/
|
||||||
tag_dir: tags
|
|
||||||
archive_dir: archives
|
|
||||||
category_dir: categories
|
|
||||||
code_dir: downloads/code
|
code_dir: downloads/code
|
||||||
|
|
||||||
# Directory
|
# Directory
|
||||||
@@ -45,27 +41,6 @@ toc:
|
|||||||
symbol: '#'
|
symbol: '#'
|
||||||
style: header-anchor
|
style: header-anchor
|
||||||
|
|
||||||
# Category & Tag
|
|
||||||
default_category: uncategorized
|
|
||||||
category_map:
|
|
||||||
tag_map:
|
|
||||||
|
|
||||||
# Archives
|
|
||||||
## 2: Enable pagination
|
|
||||||
## 1: Disable pagination
|
|
||||||
## 0: Fully Disable
|
|
||||||
archive: 0
|
|
||||||
category: 0
|
|
||||||
tag: 0
|
|
||||||
|
|
||||||
# Server
|
|
||||||
## Hexo uses Connect as a server
|
|
||||||
## You can customize the logger format as defined in
|
|
||||||
## http://www.senchalabs.org/connect/logger.html
|
|
||||||
port: 4000
|
|
||||||
logger: false
|
|
||||||
logger_format:
|
|
||||||
|
|
||||||
# Date / Time format
|
# Date / Time format
|
||||||
## Hexo uses Moment.js to parse and display date
|
## Hexo uses Moment.js to parse and display date
|
||||||
## You can customize the date format as defined in
|
## You can customize the date format as defined in
|
||||||
@@ -92,17 +67,3 @@ markdown:
|
|||||||
breaks: true
|
breaks: true
|
||||||
smartLists: true
|
smartLists: true
|
||||||
smartypants: true
|
smartypants: true
|
||||||
|
|
||||||
# Deployment
|
|
||||||
## Docs: http://zespia.tw/hexo/docs/deployment.html
|
|
||||||
deploy:
|
|
||||||
type: git
|
|
||||||
repository:
|
|
||||||
|
|
||||||
feed:
|
|
||||||
type: atom
|
|
||||||
path: atom.xml
|
|
||||||
limit: 20
|
|
||||||
|
|
||||||
alias:
|
|
||||||
modern-cpp/l/index.html: l/index.html
|
|
||||||
2442
website/package-lock.json
generated
2442
website/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -6,18 +6,13 @@
|
|||||||
"version": "3.7.1"
|
"version": "3.7.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"hexo-generator-index": "^0.2.1",
|
||||||
|
"hexo-renderer-ejs": "^0.3.1",
|
||||||
|
"hexo-renderer-marked": "^0.3.2",
|
||||||
|
"hexo-renderer-stylus": "^0.3.3"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
"hexo": "^3.7.1",
|
"hexo": "^3.7.1",
|
||||||
"hexo-deployer-git": "0.1.0",
|
|
||||||
"hexo-generator-alias": "git+https://github.com/chrisvfritz/vuejs.org-hexo-generator-alias.git",
|
|
||||||
"hexo-generator-archive": "^0.1.5",
|
|
||||||
"hexo-generator-category": "^0.1.3",
|
|
||||||
"hexo-generator-feed": "^1.1.0",
|
|
||||||
"hexo-generator-index": "^0.2.0",
|
|
||||||
"hexo-generator-tag": "^0.2.0",
|
|
||||||
"hexo-renderer-ejs": "^0.2.0",
|
|
||||||
"hexo-renderer-marked": "^0.2.10",
|
|
||||||
"hexo-renderer-stylus": "^0.3.1",
|
|
||||||
"hexo-server": "^0.2.0",
|
|
||||||
"serve": "^6.5.6"
|
"serve": "^6.5.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,12 +3,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title><%- page.title ? page.title + ' — ' : '' %>changkun.de</title>
|
<title><%- page.title ? page.title + ' — ' : '' %> - C++ 11/14/17 On the Fly</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="<%- theme.site_description %>">
|
<meta name="description" content="<%- theme.site_description %>">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
<link rel="shortcut icon" type="image/x-icon" href="/modern-cpp/images/cover-2nd.png">
|
||||||
<meta name="msapplication-TileColor" content="#ec9325">
|
<meta name="msapplication-TileColor" content="#7e2d36">
|
||||||
<meta name="theme-color" content="#ec8364">
|
<meta name="theme-color" content="#ec8364">
|
||||||
|
|
||||||
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'>
|
||||||
|
|||||||
Reference in New Issue
Block a user