-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c3f1f5
commit ce9aeb1
Showing
7 changed files
with
50 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
model: 'production', // mocks is the mockdata in mocks folder; production uses the mock2get json file. | ||
model: 'mocks', // mocks is the mockdata in mocks folder; production uses the mock2get json file. | ||
settings: 'http://127.0.0.1:3000/chiblog.json' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,46 @@ | ||
export default { | ||
site: { | ||
title: '您已离线', | ||
baseurl: 'https://offline', | ||
title: '您已离线', // The title of your blog | ||
baseurl: 'https://offline', // The site baseurl | ||
comment: { | ||
enabled: true, | ||
commiturl: 'http://127.0.0.1:8787/', | ||
commiturl: 'http://127.0.0.1:8787/', // The comment commit url [with data in @/components/Comments.vue ] | ||
avatar: { | ||
type: 'gravatar', | ||
cacheurl: '//g.chicdn.cn/avatar/', | ||
ghcacheurl: '//ghavatar.chicdn.cn/u/', | ||
d: 'monsterid' | ||
type: 'gravatar', // no longer supported. | ||
cacheurl: '//g.chicdn.cn/avatar/', // The gravatar cache cdn url (Default https://secure.gravatar.com/avatar/) | ||
ghcacheurl: '//ghavatar.chicdn.cn/u/', // The github avatar cdn url (Default https://avatars.githubusercontent.com/ ) | ||
d: 'monsterid' // The d you want to show like GRAVATAR_URL/[ID]?d=[this is D] | ||
}, | ||
ghauth: { | ||
enabled: true, | ||
client_id: '204a53c84ec3ff5e5a82', | ||
client_secret: 'f29752d306876dc5d7959f8da8a37386ea3e3adf', | ||
proxy_url: 'https://ghproxy.moekonnyaku.workers.dev/' // You can deploy this in the cloudflare workers. Code: https://p.atri.tk/j3i | ||
// Due to the sucerty problem, the client secret is not supported on chiblog v1.1.3 and above. | ||
// proxy_url: 'https://ghproxy.moekonnyaku.workers.dev/' // You can deploy this in the cloudflare workers. Code: https://p.atri.tk/j3i | ||
// The ghauth authenation url is no longer supported, please use the server get way instead. | ||
}, | ||
backend: { | ||
enabled: true, | ||
type: 'workers', // The next will be like disqus, valine and so on.(Serverless options) You can deploy the code in the cloudflare workers. Code: https://p.atri.tk/Mm4 Guide: https://chiblog.apps.chihuo2104.dev/comment-service/workers (WIP) | ||
enabled: true, // enable your comment backend system | ||
type: 'workers', // The next will be like disqus, valine and so on.(Serverless options) You can deploy the code in the cloudflare workers. Code: https://p.atri.tk/Mm4 Guide: https://chiblog.apps.chihuo2104.dev/comment-service/workers (WIP) | ||
// When your type is workers (departed in chiblog v1.1.3). Please use 'simplecomment' instead. chicomment-simple is a go-based comment management system. URL: https://github.com/chi-net/chicomment-simple/ | ||
url: 'http://127.0.0.1:8787/' | ||
} | ||
}, | ||
footer: '', | ||
announcement: '', | ||
footer: '', // the footer will show below the copyright statement. support html tag | ||
announcement: '', // the announcement will show in the index page. support html tag | ||
author: { | ||
name: 'chihuo2104', | ||
url: 'https://im.chihuo2104.dev/' | ||
name: 'chihuo2104', // the site's owner's name | ||
url: 'https://im.chihuo2104.dev/' // the site's owner's personal site | ||
}, | ||
copyright: { | ||
startyear: 2018 | ||
startyear: 2018 // when the year your copyright starts | ||
}, | ||
customjs: { | ||
customjs: { // custom javascript file can be ran in this appliaction | ||
enabled: false, | ||
type: 'script', // script or url | ||
script: 'alert(\'Hi!\')' | ||
script: 'alert(\'Hi!\')' // if type is script, the script is the script you want to run. else like url, you must fill in this with your url. | ||
}, | ||
showstats: true, | ||
showcopyright: false, | ||
debug: false | ||
showstats: true, // whether show stats (Rendered at and Render cost) | ||
showcopyright: false, // show your copyright information | ||
debug: false // When the debug mode is on, it will display console.log. | ||
} | ||
} |