summaryrefslogtreecommitdiff
path: root/src/web/docs
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/docs')
-rw-r--r--src/web/docs/layout.pug1
-rw-r--r--src/web/docs/style.styl2
-rw-r--r--src/web/docs/vars.ts3
3 files changed, 5 insertions, 1 deletions
diff --git a/src/web/docs/layout.pug b/src/web/docs/layout.pug
index 22d89375af..ee8018ec63 100644
--- a/src/web/docs/layout.pug
+++ b/src/web/docs/layout.pug
@@ -35,3 +35,4 @@ html(lang= lang)
p
= common.i18n[lang]['docs']['edit-this-page-on-github']
a(href=src target="_blank")= common.i18n[lang]['docs']['edit-this-page-on-github-link']
+ small= common.copyright
diff --git a/src/web/docs/style.styl b/src/web/docs/style.styl
index 285b92bdb8..32a2264f15 100644
--- a/src/web/docs/style.styl
+++ b/src/web/docs/style.styl
@@ -41,7 +41,7 @@ main
margin 32px 0 0 0
border-top solid 2px #eee
- .copyright
+ > small
margin 16px 0 0 0
color #aaa
diff --git a/src/web/docs/vars.ts b/src/web/docs/vars.ts
index 2c744be61b..da590d7bd9 100644
--- a/src/web/docs/vars.ts
+++ b/src/web/docs/vars.ts
@@ -3,6 +3,7 @@ import * as glob from 'glob';
import * as yaml from 'js-yaml';
import langs from '../../../locales';
import config from '../../conf';
+const constants = require('../../const.json');
export default function(): { [key: string]: any } {
const vars = {} as { [key: string]: any };
@@ -38,5 +39,7 @@ export default function(): { [key: string]: any } {
vars['i18n'] = langs;
+ vars['copyright'] = constants.copyright;
+
return vars;
}