Skip to content

Commit

Permalink
add: english readme issue#20
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuanxin committed Jun 18, 2019
1 parent 5bff70b commit 427aa0f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const {
baseConf,
mdConf,
themeConf,
localesConf,
} = require('./config/')

module.exports = {
...baseConf,
locales: localesConf,
markdown: mdConf,
themeConfig: themeConf,
plugins: [
Expand Down
5 changes: 0 additions & 5 deletions .vuepress/config/base.js

This file was deleted.

5 changes: 2 additions & 3 deletions .vuepress/config/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

const baseConf = require('./base')
const mdConf = require('./markdown')
const themeConf = require('./themeConf')
const localesConf = require('./locales')

module.exports = {
baseConf,
mdConf,
themeConf,
localesConf,
}
12 changes: 12 additions & 0 deletions .vuepress/config/locales.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
'/': {
lang: 'zh-CN',
title: '心谭博客',
description: '鑫谈,也是心谭。已有前端知识体系梳理、设计模式手册、Webpack4教程,欢迎食用'
},
'/en/': {
lang: 'en-US',
title: 'XinTan Blog',
description: 'Passages about frontend, design patterns, algorithm and so on.'
}
}
17 changes: 17 additions & 0 deletions en/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
home: true
heroImage: "./edit-tools.png"
tagline: Frontend, design patterns, algorithm and so on.
actionText: Navigation
actionLink: "/guide/"
features:
- title: Read
details: With Chrome Translate plugin
- title: Together
details: Issue Comment / PR with fork
- title: Follow
details: Star / Watch github repository
footer: MIT Licensed | Copyright © 2019 XinTan
comment: false
single: true
---

0 comments on commit 427aa0f

Please sign in to comment.