-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmessage.html
More file actions
188 lines (182 loc) · 7.17 KB
/
Copy pathmessage.html
File metadata and controls
188 lines (182 loc) · 7.17 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Feel free to leave me a message.">
<meta name="twitter:card" content="Feel free to leave me a message.">
<meta name="twitter:image" property="twitter:image" content="imgs/avatar.png">
<meta name="og:title" property="og:title" content="Tony Wang - Message Board">
<meta name="og:description" property="og:description" content="Feel free to leave me a message.">
<meta name="og:image" property="og:image" content="imgs/avatar.png">
<title>Tony Wang - Message Board</title>
<link rel="alternate" type="application/rss+xml" title="Tony Wang - Homepage" href="feed.xml" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="imgs/avatar.png" />
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="prism.css">
<link rel="stylesheet" type="text/css" href="article.css">
</head>
<body onclick>
<div class="sidenav">
<div class="sidebar">
<p align="center" class="title">
Contents
</p>
<a href="/#top">* Home</a>
<a href="/#kits">* Kits</a>
<a href="/#games">* Games</a>
<a href="/#apps">* Apps</a>
<a href="/#tiny">* Tiny</a>
<a href="/#articles">* Articles</a>
* <a href="feed.xml" target="_blank" class="label" style="display: inline; color: white;">RSS</a>
</div>
</div>
<div class="page">
<a id="top" href="#top"></a>
<p align="center" class="title">
<a href="https://paladin-t.github.io/">Tony Wang</a>
</p>
<div class="content">
<p align="left">
<a href="https://store.steampowered.com/developer/tony">Steam</a> |
<a href="https://tonywang.itch.io/">Itch</a> |
<a href="https://x.com/wangrenxin">X</a> |
<a href="https://bsky.app/profile/wangrenxin.bsky.social">Bluesky</a> |
<a href="https://github.com/paladin-t">GitHub</a>
</p>
<div id="container">
<div id="left">
<div id="article-avatar">
<img src="imgs/avatar.png" id="avatar">
</div>
</div>
<div id="right">
<div class="article-title" id="article-title">
...
</div>
<button class="button" id="font" style="width: 4em; font-size: 8px;">Font</button>
</div>
</div>
<hr>
<div id="article">
<div id="article-content" class="article-content">
<!-- BEGIN CONTENT -->
<h2>👋 Welcome!</h2>
<p>I'm using GitHub as a place to connect with you.</p>
<p>Login with your account, and feel free to leave me a message below.</p>
<p>Also start a discussion thread <a href="https://github.com/paladin-t/paladin-t.github.io/discussions/2">here</a>.</p>
<!-- END CONTENT -->
<br>
<br>
Loading content...
</div>
<div id="article-labels">
</div>
<div id="article-rss" style="padding-top: 8px;">
</div>
<hr>
<div id="article-comments" style="display: none;">
Loading comments...
</div>
</div>
<script src="https://utteranc.es/client.js"
repo="paladin-t/paladin-t.github.io" issue-number="6"
theme="github-light"
crossorigin="anonymous" async>
</script>
<hr>
<p align="center">
(C) 2018-2026 <a href="https://paladin-t.github.io/">Tony Wang</a>
<a href="feed.xml" target="_blank" class="label" style="color: white;">RSS</a>
</p>
</div>
</div>
<script src="polyfill.js"></script>
<script src="marked.js"></script>
<script src="prism.js"></script>
<script src="article.js"></script>
<script src="site-storage.js"></script>
<script src="toggle-font.js"></script>
<script type="text/javascript">
// Article.
(function () {
var author = 'paladin-t';
var repo = 'paladin-t.github.io';
var id = '6';
var url = 'https://github.com/' + author + '/' + repo + '/issues/' + id.toString();
var title = 'Message Board';
var overview = '...';
try {
//Article.attach('article-title', '<a href="' + url + '">' + title + '</a>');
//Article.attach('article-content', overview + '<br><br>Loading content...');
Article.read(author, repo, id, {
avatar: 'article-avatar',
title: 'article-title',
content: 'article-content',
labels: 'article-labels',
rss: 'article-rss',
comments: 'article-comments',
preprocess: function (html) {
return html
.replaceAll('<!--iframe', '<iframe')
.replaceAll('/iframe-->', '/iframe>')
.replaceAll('<code>', '<code class="language-auto">')
.replaceAll('language-c++', 'language-cpp');
},
highlight: function () {
Prism.highlightAll();
toggleFont();
}
});
} catch (_) {
var html = 'Oops, cannot load article for the moment...<br>Try refersh or ';
html += '<a href="' + url + '">click</a>';
Article.attach('article-content', html);
Article.attach('article-comments', 'Cannot load comments...');
toggleFont();
}
})();
</script>
<script async src="cookieconsent.js"></script>
<script>
window.addEventListener('load', function () {
window.wpcc.init(
{
'border': 'thin',
'corners': 'small',
'colors': {
'popup': {
'background': '#f6f6f6',
'text': '#000000',
'border': '#555555'
},
'button': {
'background': '#555555',
'text': '#ffffff'
}
},
'content': {
'message': 'This website uses cookies to keep ensure the highest service quality. By continuing using the site, you agree to use cookies.'
}
}
);
var content = document.getElementsByClassName('wpcc-container');
if (content && content.length > 0)
content[0].style = 'font: 16px Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace, sans-serif;';
var btn = document.getElementsByClassName('wpcc-btn');
if (btn && btn.length > 0)
btn[0].style = 'border: 0; display: block; font-size: .9em; font-weight: 700; outline: 0; padding: .4em 0em; text-align: center; width: 100%; white-space: nowrap; -webkit-transition: background-color .2s ease; -moz-transition: background-color .2s ease; -ms-transition: background-color .2s ease; -o-transition: background-color .2s ease;';
});
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-61RKSR5RBP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-61RKSR5RBP');
</script>
</body>
</html>