Skip to content

Commit

Permalink
Update for Netlify CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
DemoMacro committed Dec 8, 2018
1 parent 8c8295a commit 298cb63
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.log
node_modules/
node_modules/
public/
8 changes: 7 additions & 1 deletion .vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
title: 'VuePress-NetlifyCMS',
description: 'A VuePress Site Deployed on Netlify.com by Demo Macro',
dest: 'public',
themeConfig: {

nav: [
Expand All @@ -10,10 +11,15 @@ module.exports = {
items: [
{ text: 'URLStack', link: 'https://abc.imst.xyz' },
]
}
},
{ text: 'Admin', link: 'admin/index.html' }
],

sidebar: 'auto',
sidebar: [
['/', 'Home'],
['docs/', 'Documents']
],

displayAllHeaders: true, // 默认值:false
activeHeaderLinks: true, // 默认值:true
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## NetlifyPress
---
title: NetlifyPress
---
# NetlifyPress

This is a book written in Gitbook and hosted with Netlify.

Expand Down
5 changes: 0 additions & 5 deletions Second.md

This file was deleted.

19 changes: 0 additions & 19 deletions admin/config.yml

This file was deleted.

19 changes: 0 additions & 19 deletions admin/index.html

This file was deleted.

3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Hello,World!
---
# Hello,World!

## Hello World!
Expand Down

0 comments on commit 298cb63

Please sign in to comment.