-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal-search.xml
84 lines (39 loc) · 5.58 KB
/
local-search.xml
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
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title>page</title>
<link href="/blogs/2024/08/31/page/"/>
<url>/blogs/2024/08/31/page/</url>
<content type="html"><![CDATA[page 与 post 到底什么区别?<!-- <head> <script src='//unpkg.com/valine/dist/Valine.min.js'></script></head><body> <blockquote class="pullquote [class]"><p>应用内容, 到底是干嘛的呢个</p></blockquote> <div id="vcomments"></div> <script> new Valine({ el: '#vcomments', appId: 'lUE0SbAK6xxwxoftcVRz2spa-MdYXbMMI', appKey: 'Uic5UN1DVL53rgR1fjbsm0no' }) </script></body> -->]]></content>
</entry>
<entry>
<title>test3</title>
<link href="/blogs/2024/08/31/test3/"/>
<url>/blogs/2024/08/31/test3/</url>
<content type="html"><![CDATA[<h2id="这是第三个公式测试看看好不好用">这是第三个公式测试,看看好不好用</h2><p><span class="math display">\[E=mc^2\]</span></p><blockquote><p>[!NOTE] Useful information that users should know, even when skimmingcontent.</p></blockquote><blockquote><p>[!TIP] Helpful advice for doing things better or more easily.</p></blockquote><blockquote><p>[!IMPORTANT] Key information users need to know to achieve theirgoal.</p></blockquote><blockquote><p>[!WARNING] Urgent info that needs immediate user attention to avoidproblems.</p></blockquote><blockquote><p>[!CAUTION] Advises about risks or negative outcomes of certainactions.</p></blockquote>]]></content>
<tags>
<tag>测试</tag>
</tags>
</entry>
<entry>
<title>test2</title>
<link href="/blogs/2024/08/31/test2/"/>
<url>/blogs/2024/08/31/test2/</url>
<content type="html"><![CDATA[<h2id="这是第二个公式测试看看好不好用">这是第二个公式测试,看看好不好用</h2><p><span class="math display">\[E=mc^2\]</span></p><div id="vcomments"></div>]]></content>
<tags>
<tag>测试</tag>
</tags>
</entry>
<entry>
<title>公式测试</title>
<link href="/blogs/2024/08/31/gongshi/"/>
<url>/blogs/2024/08/31/gongshi/</url>
<content type="html"><![CDATA[<h2id="这是第一个公式测试看看好不好用">这是第一个公式测试,看看好不好用</h2><p><span class="math display">\[E=mc^2\]</span></p><p><span class="math display">\[\sqrt{2}\]</span></p>]]></content>
</entry>
<entry>
<title>Hello World</title>
<link href="/blogs/2024/08/30/hello-world/"/>
<url>/blogs/2024/08/30/hello-world/</url>
<content type="html"><![CDATA[<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your veryfirst post. Check <a href="https://hexo.io/docs/">documentation</a> formore info. If you get any problems when using Hexo, you can find theanswer in <ahref="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> oryou can ask me on <ahref="https://github.com/hexojs/hexo/issues">GitHub</a>.</p><h2 id="quick-start">Quick Start</h2><h3 id="create-a-new-post">Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">$ hexo new <span class="hljs-string">"My New Post"</span><br></code></pre></td></tr></table></figure><p>More info: <ahref="https://hexo.io/docs/writing.html">Writing</a></p><h3 id="run-server">Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">$ hexo server<br></code></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/server.html">Server</a></p><h3 id="generate-static-files">Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">$ hexo generate<br></code></pre></td></tr></table></figure><p>More info: <ahref="https://hexo.io/docs/generating.html">Generating</a></p><h3 id="deploy-to-remote-sites">Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">$ hexo deploy<br></code></pre></td></tr></table></figure><p>More info: <ahref="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p><h3 id="修改主题">修改主题</h3><p>安装flexid主题</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">$ npm install --save hexo-theme-fluid <br></code></pre></td></tr></table></figure><p>然后在博客目录下创建 _config.fluid.yml,将主题的 <ahref="https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml">_config.yml</a>内容复制过去。</p><h3 id="指定主题">指定主题</h3><p>如下修改 Hexo 博客目录中的 _config.yml:</p><figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-attr">theme:</span> <span class="hljs-string">fluid</span> <span class="hljs-comment"># 指定主题</span><br><span class="hljs-attr">language:</span> <span class="hljs-string">zh-CN</span> <span class="hljs-comment"># 指定语言,会影响主题显示的语言,按需修改</span><br></code></pre></td></tr></table></figure>]]></content>
</entry>
</search>