-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.jsx
91 lines (91 loc) · 3.09 KB
/
theme.config.jsx
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
export default {
// Make this a seperate react component and import it instead
footer:
<span {...{'xmlns:cc': "http://creativecommons.org/ns#"}}>
<div style={{height: '1px', backgroundColor: 'white'}}>
</div>
<span>
This work by <span property="cc:attributionName">Alex C. Viana</span> is licensed under
<a
href="http://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1"
target="_blank"
rel="license noopener noreferrer"
style={{
display: 'inline-block'
}}
>
CC BY-NC-SA 4
</a>
<img
style={{
height: '22px',
width: '22px',
margin: '4px 4px 0px 4px',
verticalAlign:'text-bottom',
display:'inline-block'
}}
src='https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1'
>
</img>
<img
style={{
height: '22px',
width: '22px',
margin: '4px 4px 0px 4px',
verticalAlign:'text-bottom',
display:'inline-block'
}}
src='https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1'
>
</img>
<img
style={{
height: '22px',
width: '22px',
margin: '4px 4px 0px 4px',
verticalAlign:'text-bottom',
display:'inline-block'
}}
src='https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1'
>
</img>
<img
style={{
height: '22px',
width: '22px',
margin: '4px 4px 0px 4px',
verticalAlign:'text-bottom',
display:'inline-block'
}}
src='https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1'
>
</img>
</span>
</span>,
head: ({ title, meta }) => (
<>
{meta.description && <meta name="description" content={meta.description} />}
{meta.tag && <meta name="keywords" content={meta.tag} />}
{meta.author && <meta name="author" content={meta.author} />}
{meta.todo && <meta name="robots" content="follow, index" />}
{meta.title && <meta property="og:site_name" content={meta.title} />}
{meta.description && <meta property="og:description" content={meta.description} />}
{meta.title && <meta property="og:title" content={meta.title} />}
{meta.image && <meta property="og:image" content={meta.image} />}
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="AlexVianaPro" />
{meta.title && <meta name="twitter:title" content={meta.title} />}
{meta.description && <meta name="twitter:description" content={meta.description} />}
{/*{meta.image && <meta name="twitter:image" content={meta.image} />}*/}
</>
),
readMore: 'Read More →',
postFooter: null,
darkMode: true,
// Remove this from the nav
// navs: [
// {
// url: 'https://github.com/shuding/nextra',
// name: 'Nextra'
// ]
}