✌️
This commit is contained in:
parent
11842366bc
commit
74f3a6aadb
9 changed files with 11 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ main
|
|||
margin 32px 0 0 0
|
||||
border-top solid 2px #eee
|
||||
|
||||
.copyright
|
||||
> small
|
||||
margin 16px 0 0 0
|
||||
color #aaa
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue