index.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
  6. <meta name="theme-color" content="#222">
  7. <meta name="generator" content="Hexo 4.2.0">
  8. <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  9. <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  10. <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  11. <link rel="mask-icon" href="/images/logo.svg" color="#222">
  12. <link rel="stylesheet" href="/css/main.css">
  13. <link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
  14. <link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
  15. <script src="/lib/pace/pace.min.js"></script>
  16. <script id="hexo-configurations">
  17. var NexT = window.NexT || {};
  18. var CONFIG = {"hostname":"schtonn.github.io","root":"/","scheme":"Muse","version":"7.7.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"flat"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":true,"pangu":false,"comments":{"style":"tabs","active":"valine","storage":true,"lazyload":false,"nav":null,"activeClass":"valine"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideLeftIn"}}};
  19. </script>
  20. <meta name="description" content="Is KaTeX working?-IT WORKED!NICE!\texttt{Is KaTeX working?-IT WORKED!NICE!}Is KaTeX working?-IT WORKED!NICE! aba^b ab (ab)\left(\dfrac{a}{b}\right) (ba​)">
  21. <meta property="og:type" content="article">
  22. <meta property="og:title" content="test">
  23. <meta property="og:url" content="https://schtonn.github.io/posts/test/index.html">
  24. <meta property="og:site_name" content="Alex&#39;s Blog">
  25. <meta property="og:description" content="Is KaTeX working?-IT WORKED!NICE!\texttt{Is KaTeX working?-IT WORKED!NICE!}Is KaTeX working?-IT WORKED!NICE! aba^b ab (ab)\left(\dfrac{a}{b}\right) (ba​)">
  26. <meta property="og:locale" content="en_US">
  27. <meta property="article:published_time" content="2020-03-01T03:06:43.000Z">
  28. <meta property="article:modified_time" content="2020-03-29T07:59:49.258Z">
  29. <meta property="article:author" content="Alex">
  30. <meta property="article:tag" content="other">
  31. <meta name="twitter:card" content="summary">
  32. <link rel="canonical" href="https://schtonn.github.io/posts/test/">
  33. <script id="page-configurations">
  34. // https://hexo.io/docs/variables.html
  35. CONFIG.page = {
  36. sidebar: "",
  37. isHome : false,
  38. isPost : true
  39. };
  40. </script>
  41. <title>test | Alex's Blog</title>
  42. <noscript>
  43. <style>
  44. .use-motion .brand,
  45. .use-motion .menu-item,
  46. .sidebar-inner,
  47. .use-motion .post-block,
  48. .use-motion .pagination,
  49. .use-motion .comments,
  50. .use-motion .post-header,
  51. .use-motion .post-body,
  52. .use-motion .collection-header { opacity: initial; }
  53. .use-motion .site-title,
  54. .use-motion .site-subtitle {
  55. opacity: initial;
  56. top: initial;
  57. }
  58. .use-motion .logo-line-before i { left: initial; }
  59. .use-motion .logo-line-after i { right: initial; }
  60. </style>
  61. </noscript>
  62. </head>
  63. <body itemscope itemtype="http://schema.org/WebPage">
  64. <div class="container use-motion">
  65. <div class="headband"></div>
  66. <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  67. <div class="header-inner"><div class="site-brand-container">
  68. <div class="site-nav-toggle">
  69. <div class="toggle" aria-label="Toggle navigation bar">
  70. <span class="toggle-line toggle-line-first"></span>
  71. <span class="toggle-line toggle-line-middle"></span>
  72. <span class="toggle-line toggle-line-last"></span>
  73. </div>
  74. </div>
  75. <div class="site-meta">
  76. <div>
  77. <a href="/" class="brand" rel="start">
  78. <span class="logo-line-before"><i></i></span>
  79. <span class="site-title">Alex's Blog</span>
  80. <span class="logo-line-after"><i></i></span>
  81. </a>
  82. </div>
  83. <p class="site-subtitle">Middle school OIer</p>
  84. </div>
  85. <div class="site-nav-right">
  86. <div class="toggle popup-trigger">
  87. </div>
  88. </div>
  89. </div>
  90. <nav class="site-nav">
  91. <ul id="menu" class="menu">
  92. <li class="menu-item menu-item-home">
  93. <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>Home</a>
  94. </li>
  95. <li class="menu-item menu-item-tags">
  96. <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>Tags</a>
  97. </li>
  98. <li class="menu-item menu-item-archives">
  99. <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>Archives</a>
  100. </li>
  101. <li class="menu-item menu-item-games">
  102. <a href="/games/" rel="section"><i class="fa fa-fw fa-gamepad"></i>Games</a>
  103. </li>
  104. <li class="menu-item menu-item-sans">
  105. <a href="/sans/" rel="section"><i class="fa fa-fw fa-heart"></i>sans</a>
  106. </li>
  107. </ul>
  108. </nav>
  109. </div>
  110. </header>
  111. <div class="back-to-top">
  112. <i class="fa fa-arrow-up"></i>
  113. <span>0%</span>
  114. </div>
  115. <div class="reading-progress-bar"></div>
  116. <main class="main">
  117. <div class="main-inner">
  118. <div class="content-wrap">
  119. <div class="content">
  120. <div class="posts-expand">
  121. <article itemscope itemtype="http://schema.org/Article" class="post-block " lang="en">
  122. <link itemprop="mainEntityOfPage" href="https://schtonn.github.io/posts/test/">
  123. <script>
  124. (function(){
  125. if(''){
  126. if (prompt('Password?') !== ''){
  127. alert('GOAWAY!');
  128. history.back();
  129. }
  130. }
  131. })();
  132. </script>
  133. <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
  134. <meta itemprop="image" content="/images/avatar.gif">
  135. <meta itemprop="name" content="Alex">
  136. <meta itemprop="description" content="The blog of a middle school OIer">
  137. </span>
  138. <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
  139. <meta itemprop="name" content="Alex's Blog">
  140. </span>
  141. <header class="post-header">
  142. <h1 class="post-title" itemprop="name headline">
  143. test
  144. </h1>
  145. <div class="post-meta">
  146. <span class="post-meta-item">
  147. <span class="post-meta-item-icon">
  148. <i class="fa fa-calendar-o"></i>
  149. </span>
  150. <span class="post-meta-item-text">Posted on</span>
  151. <time title="Created: 2020-Mar-01 11:06:43" itemprop="dateCreated datePublished" datetime="2020-03-01T11:06:43+08:00">2020-Mar-01</time>
  152. </span>
  153. <span class="post-meta-item">
  154. <span class="post-meta-item-icon">
  155. <i class="fa fa-calendar-check-o"></i>
  156. </span>
  157. <span class="post-meta-item-text">Edited on</span>
  158. <time title="Modified: 2020-Mar-29 15:59:49" itemprop="dateModified" datetime="2020-03-29T15:59:49+08:00">2020-Mar-29</time>
  159. </span>
  160. <span id="/posts/test/" class="post-meta-item leancloud_visitors" data-flag-title="test" title="Views">
  161. <span class="post-meta-item-icon">
  162. <i class="fa fa-eye"></i>
  163. </span>
  164. <span class="post-meta-item-text">Views: </span>
  165. <span class="leancloud-visitors-count"></span>
  166. </span>
  167. <span class="post-meta-item">
  168. <span class="post-meta-item-icon">
  169. <i class="fa fa-comment-o"></i>
  170. </span>
  171. <span class="post-meta-item-text">Valine: </span>
  172. <a title="valine" href="/posts/test/#valine-comments" itemprop="discussionUrl">
  173. <span class="post-comments-count valine-comment-count" data-xid="/posts/test/" itemprop="commentCount"></span>
  174. </a>
  175. </span>
  176. </div>
  177. </header>
  178. <div class="post-body" itemprop="articleBody">
  179. <p><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mtext mathvariant="monospace">Is</mtext><mtext> </mtext><mtext mathvariant="monospace">KaTeX</mtext><mtext> </mtext><mtext mathvariant="monospace">working?-IT</mtext><mtext> </mtext><mtext mathvariant="monospace">WORKED!NICE!</mtext></mrow><annotation encoding="application/x-tex">\texttt{Is KaTeX working?-IT WORKED!NICE!}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.83333em;vertical-align:-0.22222em;"></span><span class="mord text"><span class="mord texttt">Is KaTeX working?-IT WORKED!NICE!</span></span></span></span></span></p>
  180. <p class='katex-block'><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><msup><mi>a</mi><mi>b</mi></msup></mrow><annotation encoding="application/x-tex">a^b
  181. </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.8991079999999999em;vertical-align:0em;"></span><span class="mord"><span class="mord mathdefault">a</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.8991079999999999em;"><span style="top:-3.113em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathdefault mtight">b</span></span></span></span></span></span></span></span></span></span></span></span></p>
  182. <p class='katex-block'><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo fence="true">(</mo><mfrac><mi>a</mi><mi>b</mi></mfrac><mo fence="true">)</mo></mrow><annotation encoding="application/x-tex">\left(\dfrac{a}{b}\right)
  183. </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1.8359999999999999em;vertical-align:-0.686em;"></span><span class="minner"><span class="mopen delimcenter" style="top:0em;"><span class="delimsizing size2">(</span></span><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:1.10756em;"><span style="top:-2.314em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord mathdefault">b</span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.677em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord mathdefault">a</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.686em;"><span></span></span></span></span></span><span class="mclose nulldelimiter"></span></span><span class="mclose delimcenter" style="top:0em;"><span class="delimsizing size2">)</span></span></span></span></span></span></span></p>
  184. </div>
  185. <div>
  186. <ul class="post-copyright">
  187. <li class="post-copyright-author">
  188. <strong>Post author: </strong>Alex
  189. </li>
  190. <li class="post-copyright-link">
  191. <strong>Post link: </strong>
  192. <a href="https://schtonn.github.io/posts/test/" title="test">https://schtonn.github.io/posts/test/</a>
  193. </li>
  194. <li class="post-copyright-license">
  195. <strong>Copyright Notice: </strong>All articles in this blog are licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fa fa-fw fa-creative-commons"></i>BY-NC-SA</a> unless stating additionally.
  196. </li>
  197. </ul>
  198. </div>
  199. <footer class="post-footer">
  200. <div class="post-tags">
  201. <a href="/tags/other/" rel="tag"><i class="fa fa-tag"></i> other</a>
  202. </div>
  203. <div class="post-nav">
  204. <div class="post-nav-item"></div>
  205. <div class="post-nav-item">
  206. <a href="/posts/plan/" rel="next" title="plan">
  207. plan <i class="fa fa-chevron-right"></i>
  208. </a></div>
  209. </div>
  210. </footer>
  211. </article>
  212. </div>
  213. </div>
  214. <div class="comments" id="valine-comments"></div>
  215. <script>
  216. window.addEventListener('tabs:register', () => {
  217. let activeClass = CONFIG.comments.activeClass;
  218. if (CONFIG.comments.storage) {
  219. activeClass = localStorage.getItem('comments_active') || activeClass;
  220. }
  221. if (activeClass) {
  222. let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
  223. if (activeTab) {
  224. activeTab.click();
  225. }
  226. }
  227. });
  228. if (CONFIG.comments.storage) {
  229. window.addEventListener('tabs:click', event => {
  230. if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
  231. let commentClass = event.target.classList[1];
  232. localStorage.setItem('comments_active', commentClass);
  233. });
  234. }
  235. </script>
  236. </div>
  237. <div class="toggle sidebar-toggle">
  238. <span class="toggle-line toggle-line-first"></span>
  239. <span class="toggle-line toggle-line-middle"></span>
  240. <span class="toggle-line toggle-line-last"></span>
  241. </div>
  242. <aside class="sidebar">
  243. <div class="sidebar-inner">
  244. <ul class="sidebar-nav motion-element">
  245. <li class="sidebar-nav-toc">
  246. Table of Contents
  247. </li>
  248. <li class="sidebar-nav-overview">
  249. Overview
  250. </li>
  251. </ul>
  252. <!--noindex-->
  253. <div class="post-toc-wrap sidebar-panel">
  254. </div>
  255. <!--/noindex-->
  256. <div class="site-overview-wrap sidebar-panel">
  257. <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  258. <p class="site-author-name" itemprop="name">Alex</p>
  259. <div class="site-description" itemprop="description">The blog of a middle school OIer</div>
  260. </div>
  261. <div class="site-state-wrap motion-element">
  262. <nav class="site-state">
  263. <div class="site-state-item site-state-posts">
  264. <a href="/archives">
  265. <span class="site-state-item-count">10</span>
  266. <span class="site-state-item-name">posts</span>
  267. </a>
  268. </div>
  269. <div class="site-state-item site-state-tags">
  270. <a href="/tags/">
  271. <span class="site-state-item-count">4</span>
  272. <span class="site-state-item-name">tags</span></a>
  273. </div>
  274. </nav>
  275. </div>
  276. <div class="links-of-author motion-element">
  277. <span class="links-of-author-item">
  278. <a href="https://github.com/schtonn" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;schtonn" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i>GitHub</a>
  279. </span>
  280. <span class="links-of-author-item">
  281. <a href="skype:alex?call|chat" title="Skype → skype:alex?call|chat" rel="noopener" target="_blank"><i class="fa fa-fw fa-skype"></i>Skype</a>
  282. </span>
  283. </div>
  284. <div class="links-of-blogroll motion-element">
  285. <div class="links-of-blogroll-title">
  286. <i class="fa fa-fw fa-link"></i>
  287. Links
  288. </div>
  289. <ul class="links-of-blogroll-list">
  290. <li class="links-of-blogroll-item">
  291. <a href="https://yonghong.github.io/" title="https:&#x2F;&#x2F;yonghong.github.io" rel="noopener" target="_blank">Yonghong</a>
  292. </li>
  293. <li class="links-of-blogroll-item">
  294. <a href="https://source.unsplash.com/random/1600x900" title="https:&#x2F;&#x2F;source.unsplash.com&#x2F;random&#x2F;1600x900" rel="noopener" target="_blank">Background</a>
  295. </li>
  296. </ul>
  297. </div>
  298. </div>
  299. <div id="treefrog" style="text-align: center;margin-top: 18px;">
  300. <object type="application/x-shockwave-flash" style="outline:none;" data="/js/treefrog.swf?up_bodyColor=444444&up_pattern=0&up_flyColor=777777&up_tongueColor=555555&up_patternColor=000000&up_releaseFly=0&up_frogName=Froggie&up_backgroundImage=http://&up_bellySize=.5&up_footColor=444444&up_eyeColor=444444&up_backgroundColor=222222&" width="300" height="600"><param name="movie" value="http://cdn.abowman.com/widgets/treefrog/treefrog.swf?up_bodyColor=444444&up_pattern=0&up_flyColor=777777&up_tongueColor=555555&up_patternColor=000000&up_releaseFly=0&up_frogName=Froggie&up_backgroundImage=http://&up_bellySize=.5&up_footColor=444444&up_eyeColor=444444&up_backgroundColor=222222&"></param><param name="AllowScriptAccess" value="always"></param><param name="wmode" value="opaque"></param><param name="scale" value="noscale"/><param name="salign" value="tl"/></object>
  301. </div>
  302. </div>
  303. </aside>
  304. <div id="sidebar-dimmer"></div>
  305. </div>
  306. </main>
  307. <footer class="footer">
  308. <div class="footer-inner">
  309. <div class="copyright">
  310. &copy;
  311. <span itemprop="copyrightYear">2020</span>
  312. <span class="with-love">
  313. <i class="fa fa-user"></i>
  314. </span>
  315. <span class="author" itemprop="copyrightHolder">Alex Xiang</span>
  316. </div>
  317. </div>
  318. </footer>
  319. </div>
  320. <script src="/lib/anime.min.js"></script>
  321. <script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script>
  322. <script src="/lib/velocity/velocity.min.js"></script>
  323. <script src="/lib/velocity/velocity.ui.min.js"></script>
  324. <script src="/js/utils.js"></script>
  325. <script src="/js/motion.js"></script>
  326. <script src="/js/schemes/muse.js"></script>
  327. <script src="/js/next-boot.js"></script>
  328. <script>
  329. (function(){
  330. var bp = document.createElement('script');
  331. var curProtocol = window.location.protocol.split(':')[0];
  332. bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js';
  333. var s = document.getElementsByTagName("script")[0];
  334. s.parentNode.insertBefore(bp, s);
  335. })();
  336. </script>
  337. <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css">
  338. <script>
  339. NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  340. NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
  341. var GUEST = ['nick', 'mail', 'link'];
  342. var guest = 'nick,mail,link';
  343. guest = guest.split(',').filter(item => {
  344. return GUEST.includes(item);
  345. });
  346. new Valine({
  347. el : '#valine-comments',
  348. verify : true,
  349. notify : true,
  350. appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
  351. appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
  352. placeholder: "Balabalabalablalablablbalbalabllbalblablblaablbllbalbalbllbalabalbalbalblabalbalb.",
  353. avatar : 'mm',
  354. meta : guest,
  355. pageSize : '10' || 10,
  356. visitor : true,
  357. lang : 'en' || 'zh-cn',
  358. path : location.pathname,
  359. recordIP : true,
  360. serverURLs : ''
  361. });
  362. }, window.Valine);
  363. });
  364. </script>
  365. </body>
  366. </html>