From 74f3a6aadbb01b7032d40b82cf725ec706b103a3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 17 Dec 2017 04:31:24 +0900 Subject: :v: --- src/web/docs/layout.pug | 1 + src/web/docs/style.styl | 2 +- src/web/docs/vars.ts | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/web/docs') 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; } -- cgit v1.2.3-freya