Skip to content

Commit

Permalink
Update hane config
Browse files Browse the repository at this point in the history
  • Loading branch information
tengattack committed Feb 8, 2017
1 parent 2f2f494 commit f8e0e05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ render:
type: markdown
html: false
linkify: true

theme:
beautify: true
3 changes: 3 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class HaneConfig {
get render() {
return this.config.render || {};
}
get theme() {
return this.config.theme || {};
}
}

HaneConfig.defaultConfig = null;
Expand Down
3 changes: 3 additions & 0 deletions src/index.es
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class HaneConfig {
get render() {
return this.config.render || {}
}
get theme() {
return this.config.theme || {}
}
}

HaneConfig.getDefault()
Expand Down

0 comments on commit f8e0e05

Please sign in to comment.