mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 04:34:40 +03:00
optimize #5, remove unnecessary dependencies, add icon and meta color.
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
# Site Configuration
|
||||
title: 高速上手 C++ 11/14/17
|
||||
subtitle:
|
||||
subtitle: C++ 11/14/17 On the Fly
|
||||
description: "欧长坤"
|
||||
author: 欧长坤
|
||||
email:
|
||||
language:
|
||||
email: hi[at]changkun.us
|
||||
language: zh-CN
|
||||
|
||||
# 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/
|
||||
root: /
|
||||
permalink: :year/:month/:day/:title/
|
||||
tag_dir: tags
|
||||
archive_dir: archives
|
||||
category_dir: categories
|
||||
code_dir: downloads/code
|
||||
|
||||
# Directory
|
||||
@@ -45,27 +41,6 @@ toc:
|
||||
symbol: '#'
|
||||
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
|
||||
## Hexo uses Moment.js to parse and display date
|
||||
## You can customize the date format as defined in
|
||||
@@ -91,18 +66,4 @@ markdown:
|
||||
tables: true
|
||||
breaks: true
|
||||
smartLists: 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
|
||||
smartypants: true
|
||||
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"
|
||||
},
|
||||
"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-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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<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 name="description" content="<%- theme.site_description %>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<meta name="msapplication-TileColor" content="#ec9325">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/modern-cpp/images/cover-2nd.png">
|
||||
<meta name="msapplication-TileColor" content="#7e2d36">
|
||||
<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'>
|
||||
|
||||
Reference in New Issue
Block a user