@@ -22,39 +22,95 @@ const { Content } = await entry.render();
22
22
const socials = CreateSocials (data );
23
23
24
24
function MakeProperSeo() {
25
- return ` ${data .name }, ${data .name } Vtuber, ${data .name } Twitch, ${data .name } Face Reveal, ${data .name } Wiki, ${data .name } Twitter, ${data .name } Onlyfans, ${data .name } Discord, ${data .name }Vt, ${data .name } VT, ${data .name } X `
25
+ return ` ${data .name }, ${data .name } Vtuber, ${data .name } Twitch, ${data .name } Face Reveal, ${data .name } Wiki, ${data .name } Twitter, ${data .name } Onlyfans, ${data .name } Discord, ${data .name }Vt, ${data .name } VT, ${data .name } X ` ;
26
26
}
27
+
28
+ const htData = {
29
+ ... data ,
30
+ slug: entry .slug ,
31
+ };
27
32
---
28
33
29
- <Layout title ={ data .name } favicon ={ data .image } description ={ data .description } img ={ data .image } , CustomSeo ={ { keywords: MakeProperSeo () }} >
34
+ <Layout
35
+ title ={ data .name }
36
+ favicon ={ data .image }
37
+ description ={ data .description }
38
+ img ={ data .image }
39
+ ,
40
+ CustomSeo ={ { keywords: MakeProperSeo () }}
41
+ >
30
42
<div class =" vw-section" >
31
43
<div class =" vw-container" >
32
44
<div class =" vw-grid-large" data-vw-grid >
33
-
45
+ <div id =" vt-info" style =" display: none;" >
46
+ { JSON .stringify (htData , null , 2 )}
47
+ </div >
48
+
34
49
<div class =" vw-width-1-1 vw-width-expand@m" >
35
50
<article class =" vw-article" >
36
51
<h1 class =" vw-article-title" >Vtuber • { data .name } </h1 >
37
- <img loading =" lazy" id =" vtuber-image" src ={ data .image } alt ={ ` ${data .name } main image ` } style =" display: none;" />
38
- <p class =" vw-text-lead vw-text-muted vtuber-desc" id =" vtuber-desc" >{ data .description }
52
+ <img
53
+ loading =" lazy"
54
+ id =" vtuber-image"
55
+ src ={ data .image }
56
+ alt ={ ` ${data .name } main image ` }
57
+ style =" display: none;"
58
+ />
59
+ <p class =" vw-text-lead vw-text-muted vtuber-desc" id =" vtuber-desc" >
60
+ { data .description }
39
61
</p >
40
62
<br />
41
- { data .graduated ? <span class = " badge badge-danger" >Graduated</span > <br /> : " " }
42
- <p class =" vw-text-lead vw-text-muted" id =" vtuber-socials" style =" text-align: center;" >
63
+ {
64
+ data .graduated ? (
65
+ <>
66
+ <span class = " badge badge-danger" >Graduated</span >
67
+ <br />
68
+ </>
69
+ ) : (
70
+ " "
71
+ )
72
+ }
73
+ <p
74
+ class =" vw-text-lead vw-text-muted"
75
+ id =" vtuber-socials"
76
+ style =" text-align: center;"
77
+ >
43
78
{
44
79
socials .map ((social : any ) => (
45
- <a href = { social .url } target = " _blank" rel = " noopener" title = { social .name } >
46
- <img loading = " lazy" src = { ` /static/icons/${social .icon }.svg ` } alt = { social .icon } width = " 34" height = " 34" style = " vertical-align: middle; margin-right: 6px;" title = { social .iconUppercase } />
80
+ <a
81
+ href = { social .url }
82
+ target = " _blank"
83
+ rel = " noopener"
84
+ title = { social .name }
85
+ >
86
+ <img
87
+ loading = " lazy"
88
+ src = { ` /static/icons/${social .icon }.svg ` }
89
+ alt = { social .icon }
90
+ width = " 34"
91
+ height = " 34"
92
+ style = " vertical-align: middle; margin-right: 6px;"
93
+ title = { social .iconUppercase }
94
+ />
47
95
</a >
48
96
))
49
97
}
50
-
51
98
</p >
52
99
<hr />
53
100
54
-
55
101
<div class =" article-content link-primary" >
56
- { data .is_draft ? <Alert type = " warning" message = " This page is a draft and is not ready for public viewing. So please note that some data is incomplete." includeCloseButton = { false } /> : " " }
57
- <Content />
102
+ {
103
+ data .is_draft ? (
104
+ <Alert
105
+ type = " warning"
106
+ message = " This page is currently a draft and is not ready for public viewing. Please be aware that certain data may be incomplete at this stage."
107
+ includeCloseButton = { false }
108
+ />
109
+ ) : (
110
+ " "
111
+ )
112
+ }
113
+ <Content />
58
114
</div >
59
115
<hr class =" vw-margin-medium" />
60
116
</article >
@@ -68,31 +124,33 @@ function MakeProperSeo() {
68
124
</div>
69
125
<br /> -->
70
126
<div class =" vw-container vw-container-small" >
71
- <div data-vw-scrollspy =" cls: vw-animation-slide-bottom-medium; repeat: true" >
72
- <div id =" disqus_thread" ></div >
127
+ <div
128
+ data-vw-scrollspy =" cls: vw-animation-slide-bottom-medium; repeat: true"
129
+ >
130
+ <div id =" disqus_thread" ></div >
73
131
</div >
74
132
</div >
75
133
</div >
76
-
77
134
</div >
78
135
</div >
79
136
</div >
80
137
</div >
81
138
<script src =" /static/js/docs.js" is:inline ></script >
82
139
<script src =" /static/js/@include/@profile/classes.js" is:inline ></script >
83
- <script src =" /static/js/@include/CheckD.js" is:inline ></script >
84
- <script is:inline >
85
- var disqus_config = function () {
86
- this.page.url = window.location.href;
87
- this.page.identifier = window.location.pathname;
88
- };
89
- (function () {
90
- // DON'T EDIT BELOW THIS LINE
91
- var d = document,
92
- s = d.createElement("script");
93
- s.src = "https://vtuberwiki.disqus.com/embed.js";
94
- s.setAttribute("data-timestamp", +new Date());
95
- (d.head || d.body).appendChild(s);
96
- })();
97
- </script >
140
+ <script src =" /static/js/@include/CheckD.js" is:inline ></script >
141
+ <script src =" /static/js/replacer.js" is:inline ></script >
142
+ <script is:inline >
143
+ var disqus_config = function () {
144
+ this.page.url = window.location.href;
145
+ this.page.identifier = window.location.pathname;
146
+ };
147
+ (function () {
148
+ // DON'T EDIT BELOW THIS LINE
149
+ var d = document,
150
+ s = d.createElement("script");
151
+ s.src = "https://vtuberwiki.disqus.com/embed.js";
152
+ s.setAttribute("data-timestamp", +new Date());
153
+ (d.head || d.body).appendChild(s);
154
+ })();
155
+ </script >
98
156
</Layout >
0 commit comments