From 1aff179dd7ab819fc2caa79ee34c1030ea29da13 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 13:10:05 +0800 Subject: [PATCH 01/13] Update website --- docs/index.md | 74 ++++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 34 deletions(-) diff --git a/docs/index.md b/docs/index.md index d772d7ff6..5659035da 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,45 +10,23 @@ description: "SpaceVim is a community-driven vim distribution that seeks to prov [![Version](https://img.shields.io/badge/version-0.7.0--dev-FF00CC.svg)](https://github.com/SpaceVim/SpaceVim) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/SpaceVim/SpaceVim/blob/dev/LICENSE) -SpaceVim is a distribution of the vim editor that's inspired by spacemacs. It manages collections of plugins in layers, which help collect related packages together to provide features. For example, the python layer collects deoplete.nvim, neomake and jedi-vim together to provides autocompletion, syntax checking, and documentation lookup. This approach helps keep configuration organized and reduces overhead for the user by keeping them from having to think about what packages to install. +SpaceVim is a distribution of the vim editor that's inspired by spacemacs. +It manages collections of plugins in layers, which help collect related +packages together to provide features. For example, the python layer collects +deoplete.nvim, neomake and jedi-vim together to provides autocompletion, +syntax checking, and documentation lookup. This approach helps keep +configuration organized and reduces overhead for the user by keeping them +from having to think about what packages to install. -Please star the project on github - it is a great way to show your appreciation while providing us motivation to continue working on this project. The extra visibility for the project doesn't hurt either! +Please star the project on github - it is a great way to show your +appreciation while providing us motivation to continue working on this project. +The extra visibility for the project doesn't hurt either! ![welcome-page](https://user-images.githubusercontent.com/13142418/33793078-3446cb6e-dc76-11e7-9998-376a355557a4.png) See the [documentation](https://spacevim.org/documentation) or [the list of layers](http://spacevim.org/layers/) for more information. -Here is a throughput graph of the repository for the last few weeks: - -[![Throughput Graph](https://graphs.waffle.io/SpaceVim/SpaceVim/throughput.svg)](https://waffle.io/SpaceVim/SpaceVim/metrics/throughput) - -## Requirements - -At a minimum, SpaceVim requires `git` and `wget` to be installed. These tools are needed for downloading plugins and fonts. - -If you are new to vim, you should learning about Vim in general, read [vim-galore](https://github.com/mhinz/vim-galore). - -## Install - -### Linux and macOS - -```bash -curl -sLf https://spacevim.org/install.sh | bash -``` - -After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins. - -For more info about the install script, please check: - -```bash -curl -sLf https://spacevim.org/install.sh | bash -s -- -h -``` - -### Windows - -The easist way is to download [install.cmd](https://spacevim.org/install.cmd) and run it as administrator, or install SpaceVim manually. - -## Features +## New features - **Great documentation:** access documentation in Vim with SPC h SPC. ![SPC h SPC](https://user-images.githubusercontent.com/13142418/31620230-48b53eea-b2c9-11e7-90d0-b717878875d4.gif) @@ -77,7 +55,35 @@ More posts are in the [SpaceVim's Blog](https://spacevim.org/blog/) [Follow @SpaceVim](https://twitter.com/SpaceVim) -## Get Involved +## Requirements + +At a minimum, SpaceVim requires `git` and `wget` to be installed. These tools +are needed for downloading plugins and fonts. + +If you are new to vim, you should learning about Vim in general, read +[vim-galore](https://github.com/mhinz/vim-galore). + +## Install + +### Linux and macOS + +```bash +curl -sLf https://spacevim.org/install.sh | bash +``` + +After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins. + +For more info about the install script, please check: + +```bash +curl -sLf https://spacevim.org/install.sh | bash -s -- -h +``` + +### Windows + +The easist way is to download [install.cmd](https://spacevim.org/install.cmd) and run it as administrator, or install SpaceVim manually. + +## Participating Discuss the project at [gitter.im/SpaceVim](https://gitter.im/SpaceVim/SpaceVim) or [/r/SpaceVim](https://www.reddit.com/r/SpaceVim/) From a777b332379daae7ec8bff9f3a3b748fa792c7a9 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 13:22:02 +0800 Subject: [PATCH 02/13] Update new feature --- docs/index.md | 28 ------------------------- docs/quick-start-guide.md | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 28 deletions(-) create mode 100644 docs/quick-start-guide.md diff --git a/docs/index.md b/docs/index.md index 5659035da..84cd0be0d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -55,34 +55,6 @@ More posts are in the [SpaceVim's Blog](https://spacevim.org/blog/) [Follow @SpaceVim](https://twitter.com/SpaceVim) -## Requirements - -At a minimum, SpaceVim requires `git` and `wget` to be installed. These tools -are needed for downloading plugins and fonts. - -If you are new to vim, you should learning about Vim in general, read -[vim-galore](https://github.com/mhinz/vim-galore). - -## Install - -### Linux and macOS - -```bash -curl -sLf https://spacevim.org/install.sh | bash -``` - -After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins. - -For more info about the install script, please check: - -```bash -curl -sLf https://spacevim.org/install.sh | bash -s -- -h -``` - -### Windows - -The easist way is to download [install.cmd](https://spacevim.org/install.cmd) and run it as administrator, or install SpaceVim manually. - ## Participating Discuss the project at [gitter.im/SpaceVim](https://gitter.im/SpaceVim/SpaceVim) or [/r/SpaceVim](https://www.reddit.com/r/SpaceVim/) diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md new file mode 100644 index 000000000..4fd286e02 --- /dev/null +++ b/docs/quick-start-guide.md @@ -0,0 +1,44 @@ +--- +title: "Quick start guide" +description: "SpaceVim is a community-driven vim distribution that seeks to provide layer feature." +--- + + +# Quick start guide + + + +- [Requirements](#requirements) +- [Install](#install) + - [Linux and macOS](#linux-and-macos) + - [Windows](#windows) + + + +## Requirements + +At a minimum, SpaceVim requires `git` and `wget` to be installed. These tools +are needed for downloading plugins and fonts. + +If you are new to vim, you should learning about Vim in general, read +[vim-galore](https://github.com/mhinz/vim-galore). + +## Install + +### Linux and macOS + +```bash +curl -sLf https://spacevim.org/install.sh | bash +``` + +After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins. + +For more info about the install script, please check: + +```bash +curl -sLf https://spacevim.org/install.sh | bash -s -- -h +``` + +### Windows + +The easist way is to download [install.cmd](https://spacevim.org/install.cmd) and run it as administrator, or install SpaceVim manually. From 7bedb1b88bdda67032b75e691fbeb79a161221b9 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 13:38:55 +0800 Subject: [PATCH 03/13] Add dev func for test website locally --- .SpaceVim.d/autoload/SpaceVim/dev/website.vim | 20 +++++++++++++++++++ .SpaceVim.d/init.vim | 1 + 2 files changed, 21 insertions(+) create mode 100644 .SpaceVim.d/autoload/SpaceVim/dev/website.vim diff --git a/.SpaceVim.d/autoload/SpaceVim/dev/website.vim b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim new file mode 100644 index 000000000..0b05fd134 --- /dev/null +++ b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim @@ -0,0 +1,20 @@ +let s:JOB = SpaceVim#api#import('job') +let s:job_id = 0 +function! SpaceVim#dev#website#open() + let path = expand('~/.SpaceVim/docs/') + let cmd = ['bundle', 'exec', 'jekyll', 'serve'] + let s:job_id = s:JOB.start(cmd, { + \ 'cwd' : path, + \ 'on_stdout' : function('s:on_stdout'), + \ }) +endfunction + + +function! s:on_stdout(id, data, event) abort + for data in a:data + if data =~# 'Server address:' + let address = split(data, 'address:')[1] + exe 'OpenBrowser' address + endif + endfor +endfunction diff --git a/.SpaceVim.d/init.vim b/.SpaceVim.d/init.vim index 7d65bd24f..61e363f8b 100644 --- a/.SpaceVim.d/init.vim +++ b/.SpaceVim.d/init.vim @@ -1,2 +1,3 @@ let g:spacevim_force_global_config = 1 call SpaceVim#custom#SPC('nnoremap', ['a', 'r'], 'call SpaceVim#dev#releases#open()', 'Release SpaceVim', 1) +call SpaceVim#custom#SPC('nnoremap', ['a', 'w'], 'call SpaceVim#dev#website#open()', 'Release SpaceVim', 1) From 5420301ac6dc4c501f8db7cf685217754bcc3810 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 13:48:36 +0800 Subject: [PATCH 04/13] Add key bindings --- .SpaceVim.d/autoload/SpaceVim/dev/website.vim | 29 +++++++++++++++---- .SpaceVim.d/init.vim | 3 +- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.SpaceVim.d/autoload/SpaceVim/dev/website.vim b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim index 0b05fd134..87af8e3e8 100644 --- a/.SpaceVim.d/autoload/SpaceVim/dev/website.vim +++ b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim @@ -1,20 +1,37 @@ let s:JOB = SpaceVim#api#import('job') let s:job_id = 0 +let s:server_address = '' function! SpaceVim#dev#website#open() let path = expand('~/.SpaceVim/docs/') let cmd = ['bundle', 'exec', 'jekyll', 'serve'] - let s:job_id = s:JOB.start(cmd, { - \ 'cwd' : path, - \ 'on_stdout' : function('s:on_stdout'), - \ }) + if s:job_id != 0 && s:server_address == '' + let s:job_id = s:JOB.start(cmd, { + \ 'cwd' : path, + \ 'on_stdout' : function('s:on_stdout'), + \ 'on_exit' : function('s:on_exit'), + \ }) + else + exe 'OpenBrowser' s:server_address + endif endfunction +function! SpaceVim#dev#website#terminal() abort + if s:job_id != 0 + call s:JOB.stop(s:job_id) + endif +endfunction function! s:on_stdout(id, data, event) abort for data in a:data if data =~# 'Server address:' - let address = split(data, 'address:')[1] - exe 'OpenBrowser' address + let s:server_address = split(data, 'address:')[1] + exe 'OpenBrowser' s:server_address endif endfor endfunction + + +function! s:on_exit(...) abort + let s:job_id = 0 + let s:server_address = '' +endfunction diff --git a/.SpaceVim.d/init.vim b/.SpaceVim.d/init.vim index 61e363f8b..0ffb12649 100644 --- a/.SpaceVim.d/init.vim +++ b/.SpaceVim.d/init.vim @@ -1,3 +1,4 @@ let g:spacevim_force_global_config = 1 call SpaceVim#custom#SPC('nnoremap', ['a', 'r'], 'call SpaceVim#dev#releases#open()', 'Release SpaceVim', 1) -call SpaceVim#custom#SPC('nnoremap', ['a', 'w'], 'call SpaceVim#dev#website#open()', 'Release SpaceVim', 1) +call SpaceVim#custom#SPC('nnoremap', ['a', 'w'], 'call SpaceVim#dev#website#open()', 'Open SpaceVim local website', 1) +call SpaceVim#custom#SPC('nnoremap', ['a', 't'], 'call SpaceVim#dev#website#terminal()', 'Close SpaceVim local website', 1) From 75ec9b5f151fee19d598c1a72629640411ed4dd3 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 14:02:22 +0800 Subject: [PATCH 05/13] New features --- .SpaceVim.d/autoload/SpaceVim/dev/website.vim | 7 +++++-- docs/index.md | 21 +++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.SpaceVim.d/autoload/SpaceVim/dev/website.vim b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim index 87af8e3e8..7a03d7f26 100644 --- a/.SpaceVim.d/autoload/SpaceVim/dev/website.vim +++ b/.SpaceVim.d/autoload/SpaceVim/dev/website.vim @@ -4,14 +4,14 @@ let s:server_address = '' function! SpaceVim#dev#website#open() let path = expand('~/.SpaceVim/docs/') let cmd = ['bundle', 'exec', 'jekyll', 'serve'] - if s:job_id != 0 && s:server_address == '' + if s:job_id == 0 && s:server_address == '' let s:job_id = s:JOB.start(cmd, { \ 'cwd' : path, \ 'on_stdout' : function('s:on_stdout'), \ 'on_exit' : function('s:on_exit'), \ }) else - exe 'OpenBrowser' s:server_address + exe 'OpenBrowser' s:server_address endif endfunction @@ -35,3 +35,6 @@ function! s:on_exit(...) abort let s:job_id = 0 let s:server_address = '' endfunction + + +" vim:set et sw=2 cc=80: diff --git a/docs/index.md b/docs/index.md index 84cd0be0d..ff08f531c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -28,17 +28,16 @@ See the [documentation](https://spacevim.org/documentation) or [the list of laye ## New features -- **Great documentation:** access documentation in Vim with SPC h SPC. - ![SPC h SPC](https://user-images.githubusercontent.com/13142418/31620230-48b53eea-b2c9-11e7-90d0-b717878875d4.gif) -- **Beautiful UI:** you'll love the awesome UI and its useful features. - ![beautiful UI](https://user-images.githubusercontent.com/13142418/33804722-bc241f50-dd70-11e7-8dd8-b45827c0019c.png) -- **Mnemonic key bindings:** all key bindings have mnemonic prefixes. - ![mapping guide](https://user-images.githubusercontent.com/13142418/31550099-c8173ff8-b062-11e7-967e-6378a9c3b467.gif) -- **Describe key bindings:** use SPC h d k to describe key bindings, and find definition of key bindings. - ![describe key](https://user-images.githubusercontent.com/13142418/33804739-52dbc498-dd71-11e7-97e5-ed0fa6ec1719.gif) -- **Lazy load plugins:** Lazy-load 90% of plugins with [dein.vim](https://github.com/Shougo/dein.vim) - ![UI for dein](https://user-images.githubusercontent.com/13142418/31309093-36c01150-abb3-11e7-836c-3ad406bdd71a.gif) -- **Neovim centric:** Dark powered mode of SpaceVim +
    + {% for post in site.categories.feature offset: 0 limit: 5 %} + {{ post.title }} +
    + +

    {{ post.excerpt | truncatewords: 100 }}

    +
    + + {% endfor %} +
## Blogs From 739b77bb45373ed282ddfb61e4b1bd92d60a0baa Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 14:23:06 +0800 Subject: [PATCH 06/13] Add feature: key bindings guide --- .../_posts/2017-05-25-mnemonic-key-bindings-navigation.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md diff --git a/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md b/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md new file mode 100644 index 000000000..d399e0a81 --- /dev/null +++ b/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md @@ -0,0 +1,8 @@ +--- +title: "New features: - Mnemonic key bindings navigation" +categories: feature +excerpt: "Key bindings are organized using mnemonic prefixes like b for buffer, p for project, s for search, h for help, etc…" +image: https://user-images.githubusercontent.com/13142418/31550099-c8173ff8-b062-11e7-967e-6378a9c3b467.gif +--- + +# Mnemonic key bindings navigation From e8493dca9a1f1831054cff8a337860e0e609e023 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 15:45:15 +0800 Subject: [PATCH 07/13] Add description page --- .../2017-11-6-Get-help-description-for-keybindings.md | 10 ++++++++++ docs/index.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 docs/_posts/2017-11-6-Get-help-description-for-keybindings.md diff --git a/docs/_posts/2017-11-6-Get-help-description-for-keybindings.md b/docs/_posts/2017-11-6-Get-help-description-for-keybindings.md new file mode 100644 index 000000000..5f4c4b026 --- /dev/null +++ b/docs/_posts/2017-11-6-Get-help-description-for-keybindings.md @@ -0,0 +1,10 @@ +--- +title: "New features: - Help description for key bindings" +categories: feature +excerpt: "Key bindings are defined with help description, this feature is for getting Help description and jump to the position where the key bindings is defined." +image: https://user-images.githubusercontent.com/13142418/33804739-52dbc498-dd71-11e7-97e5-ed0fa6ec1719.gif +--- + +# Mnemonic key bindings navigation + +Use `SPC h d k` to start a input prompt, Then press the key bindings you want to describe. diff --git a/docs/index.md b/docs/index.md index ff08f531c..01cd54f3a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,7 +24,7 @@ The extra visibility for the project doesn't hurt either! ![welcome-page](https://user-images.githubusercontent.com/13142418/33793078-3446cb6e-dc76-11e7-9998-376a355557a4.png) -See the [documentation](https://spacevim.org/documentation) or [the list of layers](http://spacevim.org/layers/) for more information. +See the [Quick start guide](quick-start-guide), [documentation](documentation) or [the list of layers](layers) for more information. ## New features From 0da66506a6718d44405f5f393733da9245302f0d Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 15:52:02 +0800 Subject: [PATCH 08/13] Move page above intro --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 01cd54f3a..1c6ba9eea 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,6 +10,8 @@ description: "SpaceVim is a community-driven vim distribution that seeks to prov [![Version](https://img.shields.io/badge/version-0.7.0--dev-FF00CC.svg)](https://github.com/SpaceVim/SpaceVim) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/SpaceVim/SpaceVim/blob/dev/LICENSE) +![welcome-page](https://user-images.githubusercontent.com/13142418/33793078-3446cb6e-dc76-11e7-9998-376a355557a4.png) + SpaceVim is a distribution of the vim editor that's inspired by spacemacs. It manages collections of plugins in layers, which help collect related packages together to provide features. For example, the python layer collects @@ -22,8 +24,6 @@ Please star the project on github - it is a great way to show your appreciation while providing us motivation to continue working on this project. The extra visibility for the project doesn't hurt either! -![welcome-page](https://user-images.githubusercontent.com/13142418/33793078-3446cb6e-dc76-11e7-9998-376a355557a4.png) - See the [Quick start guide](quick-start-guide), [documentation](documentation) or [the list of layers](layers) for more information. ## New features From 287af401c3fc4c644044e17b7ba68d5a8e7db4dd Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 15:54:23 +0800 Subject: [PATCH 09/13] Rename page --- docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md | 2 +- ...ndings.md => 2017-11-6-help-description-for-key-bindings.md} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename docs/_posts/{2017-11-6-Get-help-description-for-keybindings.md => 2017-11-6-help-description-for-key-bindings.md} (87%) diff --git a/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md b/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md index d399e0a81..cdafc3d5a 100644 --- a/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md +++ b/docs/_posts/2017-05-25-mnemonic-key-bindings-navigation.md @@ -1,5 +1,5 @@ --- -title: "New features: - Mnemonic key bindings navigation" +title: "Mnemonic key bindings navigation" categories: feature excerpt: "Key bindings are organized using mnemonic prefixes like b for buffer, p for project, s for search, h for help, etc…" image: https://user-images.githubusercontent.com/13142418/31550099-c8173ff8-b062-11e7-967e-6378a9c3b467.gif diff --git a/docs/_posts/2017-11-6-Get-help-description-for-keybindings.md b/docs/_posts/2017-11-6-help-description-for-key-bindings.md similarity index 87% rename from docs/_posts/2017-11-6-Get-help-description-for-keybindings.md rename to docs/_posts/2017-11-6-help-description-for-key-bindings.md index 5f4c4b026..037a9eaa0 100644 --- a/docs/_posts/2017-11-6-Get-help-description-for-keybindings.md +++ b/docs/_posts/2017-11-6-help-description-for-key-bindings.md @@ -1,5 +1,5 @@ --- -title: "New features: - Help description for key bindings" +title: "Help description for key bindings" categories: feature excerpt: "Key bindings are defined with help description, this feature is for getting Help description and jump to the position where the key bindings is defined." image: https://user-images.githubusercontent.com/13142418/33804739-52dbc498-dd71-11e7-97e5-ed0fa6ec1719.gif From 51e6951e982e99b6661003ce1b2ab40bbbc7e3e1 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 19:50:49 +0800 Subject: [PATCH 10/13] Add Asynchronous plugin manager page --- docs/_posts/2017-08-11-Asynchronous-plugin-manager.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/_posts/2017-08-11-Asynchronous-plugin-manager.md diff --git a/docs/_posts/2017-08-11-Asynchronous-plugin-manager.md b/docs/_posts/2017-08-11-Asynchronous-plugin-manager.md new file mode 100644 index 000000000..8e461829c --- /dev/null +++ b/docs/_posts/2017-08-11-Asynchronous-plugin-manager.md @@ -0,0 +1,11 @@ +--- +title: "Asynchronous plugin manager" +categories: feature +excerpt: "" +image: https://user-images.githubusercontent.com/13142418/31309093-36c01150-abb3-11e7-836c-3ad406bdd71a.gif +--- + + +# Asynchronous plugin manager + +SpaceVim use dein as default plugin manager, and implement a UI for dein. From 9a5a6962f4a8804bf2ad956f1c670e75001e5eba Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 20:41:48 +0800 Subject: [PATCH 11/13] Remove all js --- docs/_layouts/default.html | 67 +------------------------------------- 1 file changed, 1 insertion(+), 66 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 41b7298a1..738487ef5 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -2,47 +2,13 @@ - - - - {% seo %} - - - - - - + {% seo %} {{ page.title | default: Home }} - SpaceVim @@ -50,27 +16,9 @@ - - - - Fork me on GitHub @@ -97,19 +45,6 @@ - - {% if site.google_analytics %} - - - {% endif %} From 8e0ad62f1a4bf5506f9d93b5a172170e30d83e09 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 20:49:23 +0800 Subject: [PATCH 12/13] Revent change --- docs/_layouts/default.html | 67 +++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 738487ef5..41b7298a1 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -2,13 +2,47 @@ + + + + {% seo %} + + + + + + - {% seo %} {{ page.title | default: Home }} - SpaceVim @@ -16,9 +50,27 @@ + + + + Fork me on GitHub @@ -45,6 +97,19 @@ + + {% if site.google_analytics %} + + + {% endif %} From 6a0815c184a9d1c73f3fbbace31e4331f2059de2 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 13 Jan 2018 21:31:21 +0800 Subject: [PATCH 13/13] Remove google tagmanager --- docs/_layouts/default.html | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 41b7298a1..05bb3661d 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -2,13 +2,6 @@ - - {% seo %} @@ -29,14 +22,6 @@ s.parentNode.insertBefore(hm, s); })(); - - -