mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55:26 +02:00
Added config from .codexdocsrc
This commit is contained in:
parent
83f0ada96b
commit
0ee652de66
3 changed files with 8 additions and 2 deletions
2
public/dist/main.bundle.js
vendored
2
public/dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@ export default class Extensions {
|
||||||
*/
|
*/
|
||||||
constructor() {
|
constructor() {
|
||||||
this.misprints = new Misprints({
|
this.misprints = new Misprints({
|
||||||
chatId: 'XXXXXXXX'
|
chatId: window.config.chatId
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,12 @@
|
||||||
<meta property="article:modified_time" content="{{ (page.body.time / 1000) | date("c") }}" />
|
<meta property="article:modified_time" content="{{ (page.body.time / 1000) | date("c") }}" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
</head>
|
</head>
|
||||||
|
<script>
|
||||||
|
window.config = {
|
||||||
|
chatId: ''
|
||||||
|
};
|
||||||
|
window.config.chatId = Number("{{ config.chatId }}");
|
||||||
|
</script>
|
||||||
<body>
|
<body>
|
||||||
{% include "components/header.twig" with res.locals.isAuthorized %}
|
{% include "components/header.twig" with res.locals.isAuthorized %}
|
||||||
<div class="docs">
|
<div class="docs">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue