-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.js
More file actions
60 lines (59 loc) · 1.52 KB
/
config.js
File metadata and controls
60 lines (59 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const config = {
polyfill: false, // Promise polyfill
author: {
githubUrl: "https://github.com/GravityTwoG",
githubNickname: "GravityTwoG",
},
gatsby: {
pathPrefix: "/",
siteUrl: "https://cprog.netlify.app",
gaTrackingId: null,
trailingSlash: false,
},
header: {
logoLink: "/",
logoImage: "",
title: "",
githubUrl: "https://github.com/GravityTwoG/cprog",
helpUrl: "",
links: [{ text: "", link: "" }],
},
sidebar: {
forcedNavOrder: ["/", "/book", "/tasks"],
notCollapsedDepth: 1,
links: [
{
text: "Cprog — оригинальный сайт",
link: "http://ermak.cs.nstu.ru/cprog/html/",
},
],
ignoreIndex: false,
},
siteMetadata: {
title: "Cprog",
description: "Си/Си++. От дилетанта до профессионала",
ogImage: "src/images/favicon.svg",
favicon: "src/images/favicon.svg",
docsLocation: "https://github.com/GravityTwoG/cprog/blob/master/content",
},
pwa: {
enabled: true, // disabling this will also remove the existing service worker.
manifest: {
name: "Cprog",
short_name: "Cprog",
start_url: "/",
background_color: "#fff",
theme_color: "#fff",
display: "standalone",
crossOrigin: "use-credentials",
icon: "src/images/favicon.png",
icon_options: {
purpose: "any maskable",
},
include_favicon: true,
theme_color_in_head: false,
cache_busting_mode: "none",
},
},
}
module.exports = config